You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/09/05 15:26:03 UTC
svn commit: r1381170 - in
/lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock:
FixedIntBlockIndexInput.java FixedIntBlockIndexOutput.java
VariableIntBlockIndexInput.java VariableIntBlockIndexOutput.java
Author: mikemccand
Date: Wed Sep 5 13:26:02 2012
New Revision: 1381170
URL: http://svn.apache.org/viewvc?rev=1381170&view=rev
Log:
don't use private class in API signature
Modified:
lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.java
lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.java
lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.java
lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.java
Modified: lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.java?rev=1381170&r1=1381169&r2=1381170&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.java (original)
+++ lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.java Wed Sep 5 13:26:02 2012
@@ -46,7 +46,7 @@ public abstract class FixedIntBlockIndex
}
@Override
- public Reader reader() throws IOException {
+ public IntIndexInput.Reader reader() throws IOException {
final int[] buffer = new int[blockSize];
final IndexInput clone = in.clone();
// TODO: can this be simplified?
@@ -59,7 +59,7 @@ public abstract class FixedIntBlockIndex
}
@Override
- public Index index() {
+ public IntIndexInput.Index index() {
return new Index();
}
Modified: lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.java?rev=1381170&r1=1381169&r2=1381170&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.java (original)
+++ lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.java Wed Sep 5 13:26:02 2012
@@ -51,7 +51,7 @@ public abstract class FixedIntBlockIndex
protected abstract void flushBlock() throws IOException;
@Override
- public Index index() throws IOException {
+ public IntIndexOutput.Index index() throws IOException {
return new Index();
}
Modified: lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.java?rev=1381170&r1=1381169&r2=1381170&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.java (original)
+++ lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.java Wed Sep 5 13:26:02 2012
@@ -48,7 +48,7 @@ public abstract class VariableIntBlockIn
}
@Override
- public Reader reader() throws IOException {
+ public IntIndexInput.Reader reader() throws IOException {
final int[] buffer = new int[maxBlockSize];
final IndexInput clone = in.clone();
// TODO: can this be simplified?
@@ -61,7 +61,7 @@ public abstract class VariableIntBlockIn
}
@Override
- public Index index() {
+ public IntIndexInput.Index index() {
return new Index();
}
Modified: lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.java?rev=1381170&r1=1381169&r2=1381170&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.java (original)
+++ lucene/dev/trunk/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.java Wed Sep 5 13:26:02 2012
@@ -60,7 +60,7 @@ public abstract class VariableIntBlockIn
protected abstract int add(int value) throws IOException;
@Override
- public Index index() throws IOException {
+ public IntIndexOutput.Index index() throws IOException {
return new Index();
}