Apache Lucene open-source search software
dead code
Michael McCandless1e5b9e12d86e
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/pfor/ForFactory.java b/lucene/core/src/java/org/apache/lucene/codecs/pfor/ForFactory.javaindex fcdaea29cd8..f201534dc27 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/pfor/ForFactory.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/pfor/ForFactory.java@@ -85,10 +85,8 @@ public final class ForFactory extends IntStreamFactory {this.encodedBuffer = ByteBuffer.wrap(encoded).asIntBuffer();}- public void seek(long pos) {- }-// TODO: implement public void skipBlock() {} ?+ @Overridepublic void readBlock() throws IOException {final int numBytes = in.readInt();assert numBytes <= blockSize*8+4;diff --git a/lucene/core/src/java/org/apache/lucene/codecs/pfor/PForFactory.java b/lucene/core/src/java/org/apache/lucene/codecs/pfor/PForFactory.javaindex 9ba2e71463d..917e6ebb355 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/pfor/PForFactory.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/pfor/PForFactory.java@@ -85,10 +85,8 @@ public final class PForFactory extends IntStreamFactory {this.encodedBuffer = ByteBuffer.wrap(encoded).asIntBuffer();}- public void seek(long pos) {- }-// TODO: implement public void skipBlock() {} ?+ @Overridepublic void readBlock() throws IOException {final int numBytes = in.readInt();assert numBytes <= blockSize*8+4;