소스 검색

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;
 }