From 1e5b9e12d86e9a4dafb5110847299d799ee2d5b6 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Wed, 4 Jul 2012 11:10:38 +0000 Subject: [PATCH] dead code git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357225 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/codecs/pfor/ForFactory.java | 4 +--- .../src/java/org/apache/lucene/codecs/pfor/PForFactory.java | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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;