aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-core
diff options
context:
space:
mode:
Diffstat (limited to 'ardor3d-core')
-rw-r--r--ardor3d-core/src/main/java/com/ardor3d/input/logical/TwoInputStates.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/ardor3d-core/src/main/java/com/ardor3d/input/logical/TwoInputStates.java b/ardor3d-core/src/main/java/com/ardor3d/input/logical/TwoInputStates.java
index 76cff2e..205055a 100644
--- a/ardor3d-core/src/main/java/com/ardor3d/input/logical/TwoInputStates.java
+++ b/ardor3d-core/src/main/java/com/ardor3d/input/logical/TwoInputStates.java
@@ -10,8 +10,6 @@
package com.ardor3d.input.logical;
-import static com.google.common.base.Preconditions.checkNotNull;
-
import java.util.Objects;
import com.ardor3d.annotation.Immutable;
@@ -39,8 +37,8 @@ public final class TwoInputStates {
* if either parameter is null
*/
public TwoInputStates(final InputState previous, final InputState current) {
- _previous = checkNotNull(previous, "previous");
- _current = checkNotNull(current, "current");
+ _previous = Objects.requireNonNull(previous, "previous");
+ _current = Objects.requireNonNull(current, "current");
}
public InputState getPrevious() {