Changed cache value's key to be final.
This commit is contained in:
parent
88d3237d4e
commit
a032f007c1
@ -4,7 +4,7 @@ class CacheValue<KeyType, ValueType> {
|
|||||||
/**
|
/**
|
||||||
* The key that represents this cache value in the caches hashmap.
|
* 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.
|
* The actual value that this cache value stores.
|
||||||
|
Loading…
Reference in New Issue
Block a user