Skip to content

Commit

Permalink
Suppress an unchecked cast warning in ShimPluginRegistry (flutter#9145)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-simmons authored May 30, 2019
1 parent f6061fb commit e87326d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public boolean hasPlugin(String pluginKey) {
}

@Override
@SuppressWarnings("unchecked")
public <T> T valuePublishedByPlugin(String pluginKey) {
return (T) pluginMap.get(pluginKey);
}
Expand Down

0 comments on commit e87326d

Please sign in to comment.