diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-02 22:09:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 22:09:39 +0200 |
commit | aee59c35473081c08662038d7c10200ee92c8c68 (patch) | |
tree | 5d08c6f505493d189bf579111f439032267799be /platform/android/java | |
parent | c2df3e6329d81fd78b387508905097be285a4ddd (diff) | |
parent | d237f7d33d7f5625538b9e36ecec28f932c495c4 (diff) |
Merge pull request #50083 from madmiraal/android-fix-raw-use
Fix raw use of parameterized Class
Diffstat (limited to 'platform/android/java')
-rw-r--r-- | platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java | 6 |
1 files 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 6c8a3d4219..2dc8359615 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 @@ -136,7 +136,7 @@ public abstract class GodotPlugin { nativeRegisterSingleton(pluginName, pluginObject); Set<Method> filteredMethods = new HashSet<>(); - Class clazz = pluginObject.getClass(); + Class<?> clazz = pluginObject.getClass(); Method[] methods = clazz.getDeclaredMethods(); for (Method method : methods) { @@ -157,8 +157,8 @@ public abstract class GodotPlugin { for (Method method : filteredMethods) { List<String> ptr = new ArrayList<>(); - Class[] paramTypes = method.getParameterTypes(); - for (Class c : paramTypes) { + Class<?>[] paramTypes = method.getParameterTypes(); + for (Class<?> c : paramTypes) { ptr.add(c.getName()); } |