Skip to content

Commit

Permalink
Fix Class.forName unchecked call warning (#13695)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-simmons committed Nov 5, 2019
1 parent af3a69c commit 76312ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private boolean isAttachedToJni() {
*/
private void registerPlugins() {
try {
Class generatedPluginRegistrant = Class.forName("io.plugins.GeneratedPluginRegistrant");
Class<?> generatedPluginRegistrant = Class.forName("io.plugins.GeneratedPluginRegistrant");
Method registrationMethod = generatedPluginRegistrant.getDeclaredMethod("registerWith", FlutterEngine.class);
registrationMethod.invoke(null, this);
} catch (Exception e) {
Expand Down

0 comments on commit 76312ee

Please sign in to comment.