mirror of https://github.com/apache/lucene.git
remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1423151 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
493f8e718d
commit
ccabe055c5
|
@ -26,20 +26,10 @@ class DirectPackedReader extends PackedInts.ReaderImpl {
|
|||
private final IndexInput in;
|
||||
private final long startPointer;
|
||||
|
||||
// masks[n-1] masks for bottom n bits
|
||||
private final long[] masks;
|
||||
|
||||
public DirectPackedReader(int bitsPerValue, int valueCount, IndexInput in) {
|
||||
super(valueCount, bitsPerValue);
|
||||
this.in = in;
|
||||
|
||||
long v = 1;
|
||||
masks = new long[bitsPerValue];
|
||||
for (int i = 0; i < bitsPerValue; i++) {
|
||||
v *= 2;
|
||||
masks[i] = v - 1;
|
||||
}
|
||||
|
||||
startPointer = in.getFilePointer();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue