Cache.segments can be final
This commit is contained in:
parent
35dc287f59
commit
d720364b18
|
@ -249,7 +249,7 @@ public class Cache<K, V> {
|
|||
}
|
||||
}
|
||||
|
||||
private CacheSegment<K, V>[] segments = new CacheSegment[256];
|
||||
private final CacheSegment<K, V>[] segments = new CacheSegment[256];
|
||||
|
||||
{
|
||||
for (int i = 0; i < segments.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue