From a032f007c1388a5ef9a8faceec81ff3c577292c4 Mon Sep 17 00:00:00 2001 From: Harrison Date: Sun, 17 May 2020 14:57:09 -0500 Subject: [PATCH] Changed cache value's key to be final. --- .../islandsurvivalcraft/utilities/caching/CacheValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ca/recrown/islandsurvivalcraft/utilities/caching/CacheValue.java b/src/main/java/ca/recrown/islandsurvivalcraft/utilities/caching/CacheValue.java index 01cf1a5..7e736dd 100644 --- a/src/main/java/ca/recrown/islandsurvivalcraft/utilities/caching/CacheValue.java +++ b/src/main/java/ca/recrown/islandsurvivalcraft/utilities/caching/CacheValue.java @@ -4,7 +4,7 @@ class CacheValue { /** * The key that represents this cache value in the caches hashmap. */ - public volatile KeyType key; + public final KeyType key; /** * The actual value that this cache value stores.