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.java index 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() {} ? + @Override public 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.java index 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() {} ? + @Override public void readBlock() throws IOException { final int numBytes = in.readInt(); assert numBytes <= blockSize*8+4;