mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
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…
x
Reference in New Issue
Block a user