Suppress an unchecked cast warning in ShimPluginRegistry (flutter/engine#9145)
This commit is contained in:
@@ -68,6 +68,7 @@ public class ShimPluginRegistry implements PluginRegistry {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T> T valuePublishedByPlugin(String pluginKey) {
|
||||
return (T) pluginMap.get(pluginKey);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user