aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-jogl/src/main/java
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2018-07-14 13:49:36 +0200
committerJulien Gouesse <[email protected]>2018-07-14 13:49:36 +0200
commitca81c00ab66972600e4c48fd90ff76de86220467 (patch)
tree21f18c5f2f83798200fce25d53344ed12deffa17 /ardor3d-jogl/src/main/java
parente4289ed7966d2ffe289633b00485026db6e72fb3 (diff)
Replaces Guava's checkNonNull by Objects.requireNonNull
Diffstat (limited to 'ardor3d-jogl/src/main/java')
-rw-r--r--ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseWrapper.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseWrapper.java b/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseWrapper.java
index 426d9b4..2596a40 100644
--- a/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseWrapper.java
+++ b/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseWrapper.java
@@ -10,11 +10,10 @@
package com.ardor3d.input.jogl;
-import static com.google.common.base.Preconditions.checkNotNull;
-
import java.util.EnumMap;
import java.util.EnumSet;
import java.util.LinkedList;
+import java.util.Objects;
import com.ardor3d.annotation.GuardedBy;
import com.ardor3d.framework.jogl.NewtWindowContainer;
@@ -60,7 +59,7 @@ public class JoglNewtMouseWrapper implements MouseWrapper, MouseListener {
protected int _ignoreY = Integer.MAX_VALUE;
public JoglNewtMouseWrapper(final NewtWindowContainer newtWindowContainer, final MouseManager manager) {
- _newtWindow = checkNotNull(newtWindowContainer.getNewtWindow(), "newtWindow");
+ _newtWindow = Objects.requireNonNull(newtWindowContainer.getNewtWindow(), "newtWindow");
_manager = manager;
for (final MouseButton mb : MouseButton.values()) {
_lastClickTime.put(mb, 0L);