Make GenericIndexed.theBuffer final

This commit is contained in:
leventov 2017-03-23 18:05:06 -06:00
parent c63901ba47
commit 439c9066a8
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class GenericIndexed<T> implements Indexed<T>
private final ByteBuffer headerBuffer;
private int logBaseTwoOfElementsPerValueFile;
private ByteBuffer theBuffer;
private final ByteBuffer theBuffer;
// used for single file version, v1
GenericIndexed(
@ -171,6 +171,7 @@ public class GenericIndexed<T> implements Indexed<T>
int numWritten
)
{
this.theBuffer = null;
this.strategy = strategy;
this.allowReverseLookup = allowReverseLookup;
this.valueBuffers = valueBuffs;