aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-core
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2018-07-14 13:59:22 +0200
committerJulien Gouesse <[email protected]>2018-07-14 13:59:22 +0200
commitb4719060fa6c2040ae09cb92e6403755e7aec6ea (patch)
treeec441ae83cf65b4f2904b44a43fe5ad2892a73ae /ardor3d-core
parentfabe162197c274aadcbc89e342f08e7c0bbe19ca (diff)
Replaces Guava's checkNotNull by Objects.requireNonNull
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() {