Set as finals

v3.2
Toni Helenius 6 years ago committed by Stephen Gold
parent 0f66b814b3
commit 5520863078
  1. 5
      jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwJoystickInput.java
  2. 2
      jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwKeyInput.java

@ -31,16 +31,15 @@
*/
package com.jme3.input.lwjgl;
import static org.lwjgl.glfw.GLFW.*;
import com.jme3.input.*;
import com.jme3.input.event.JoyAxisEvent;
import com.jme3.input.event.JoyButtonEvent;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Logger;
import static org.lwjgl.glfw.GLFW.*;
/**
* The LWJGL implementation of {@link JoyInput}.
@ -53,7 +52,7 @@ public class GlfwJoystickInput implements JoyInput {
private static final Logger LOGGER = Logger.getLogger(InputManager.class.getName());
private RawInputListener listener;
private Map<Integer, GlfwJoystick> joysticks = new HashMap<>();
private final Map<Integer, GlfwJoystick> joysticks = new HashMap<>();
private boolean initialized = false;

@ -58,7 +58,7 @@ public class GlfwKeyInput implements KeyInput {
/**
* The LWJGL context.
*/
private LwjglWindow context;
private final LwjglWindow context;
/**
* The key callback.

Loading…
Cancel
Save