Cache.segments can be final

This commit is contained in:
Jason Tedor 2015-10-08 12:01:18 -04:00
parent 35dc287f59
commit d720364b18
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {