From c1abbfb605a3251c90ac92cbf46d53c38c5269ce Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Fri, 2 Jul 2021 16:35:52 +0100 Subject: [PATCH] Fix raw use of parameterized Class (cherry picked from commit d237f7d33d7f5625538b9e36ecec28f932c495c4) --- .../lib/src/org/godotengine/godot/plugin/GodotPlugin.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java b/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java index 4f30358ccca..48c56a6c6d0 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java +++ b/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java @@ -135,7 +135,7 @@ public abstract class GodotPlugin { nativeRegisterSingleton(pluginName, pluginObject); Set filteredMethods = new HashSet<>(); - Class clazz = pluginObject.getClass(); + Class clazz = pluginObject.getClass(); Method[] methods = clazz.getDeclaredMethods(); for (Method method : methods) { @@ -156,8 +156,8 @@ public abstract class GodotPlugin { for (Method method : filteredMethods) { List ptr = new ArrayList<>(); - Class[] paramTypes = method.getParameterTypes(); - for (Class c : paramTypes) { + Class[] paramTypes = method.getParameterTypes(); + for (Class c : paramTypes) { ptr.add(c.getName()); }