mirror of https://github.com/apache/druid.git
Make GenericIndexed.theBuffer final
This commit is contained in:
parent
c63901ba47
commit
439c9066a8
|
@ -116,7 +116,7 @@ public class GenericIndexed<T> implements Indexed<T>
|
||||||
private final ByteBuffer headerBuffer;
|
private final ByteBuffer headerBuffer;
|
||||||
private int logBaseTwoOfElementsPerValueFile;
|
private int logBaseTwoOfElementsPerValueFile;
|
||||||
|
|
||||||
private ByteBuffer theBuffer;
|
private final ByteBuffer theBuffer;
|
||||||
|
|
||||||
// used for single file version, v1
|
// used for single file version, v1
|
||||||
GenericIndexed(
|
GenericIndexed(
|
||||||
|
@ -171,6 +171,7 @@ public class GenericIndexed<T> implements Indexed<T>
|
||||||
int numWritten
|
int numWritten
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
this.theBuffer = null;
|
||||||
this.strategy = strategy;
|
this.strategy = strategy;
|
||||||
this.allowReverseLookup = allowReverseLookup;
|
this.allowReverseLookup = allowReverseLookup;
|
||||||
this.valueBuffers = valueBuffs;
|
this.valueBuffers = valueBuffs;
|
||||||
|
|
Loading…
Reference in New Issue