Changed cache value's key to be final.
This commit is contained in:
@@ -4,7 +4,7 @@ class CacheValue<KeyType, ValueType> {
|
||||
/**
|
||||
* 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.
|
||||
|
Reference in New Issue
Block a user