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/util/TextureKey.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ardor3d-core/src/main/java/com/ardor3d/util/TextureKey.java b/ardor3d-core/src/main/java/com/ardor3d/util/TextureKey.java
index 9cca85b..bef1539 100644
--- a/ardor3d-core/src/main/java/com/ardor3d/util/TextureKey.java
+++ b/ardor3d-core/src/main/java/com/ardor3d/util/TextureKey.java
@@ -77,7 +77,7 @@ final public class TextureKey implements Savable {
/** cache of texturekey objects allowing us to find an existing texture key. */
protected static final List<WeakReference<TextureKey>> _keyCache = new LinkedList<>();
- private static final Integer ZERO = new Integer(0);
+ private static final Integer ZERO = Integer.valueOf(0);
/** RTT code use */
private static AtomicInteger _uniqueTK = new AtomicInteger(Integer.MIN_VALUE);