aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-core
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2022-10-24 00:05:43 +0200
committerJulien Gouesse <[email protected]>2022-10-24 00:05:43 +0200
commitc51611342ff5ed2d697ad515318e1bfd02cc9c39 (patch)
tree47541dfdef54394a7854b459ed85210edd26fe17 /ardor3d-core
parent889b24bfc7a60efcd0779b8c2606cbc58f9d5b67 (diff)
Removes another warning message to drive the compilation future-proof
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);