瀏覽代碼

Fix unchecked call to put() warning in GodotInputHandler.java

Marcel Admiraal 4 年之前
父節點
當前提交
8270e101a7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/android/java/lib/src/org/godotengine/godot/input/Joystick.java

+ 1 - 1
platform/android/java/lib/src/org/godotengine/godot/input/Joystick.java

@@ -46,7 +46,7 @@ class Joystick {
 	/*
 	 * Keep track of values so we can prevent flooding the engine with useless events.
 	 */
-	protected final SparseArray axesValues = new SparseArray<Float>(4);
+	protected final SparseArray<Float> axesValues = new SparseArray<Float>(4);
 	protected int hatX;
 	protected int hatY;
 }