mirror of https://github.com/apache/lucene.git
don't use private class in API signature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381170 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
32fe9435f8
commit
5d211a7b5d
|
@ -46,7 +46,7 @@ public abstract class FixedIntBlockIndexInput extends IntIndexInput {
|
|||
}
|
||||
|
||||
@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 FixedIntBlockIndexInput extends IntIndexInput {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Index index() {
|
||||
public IntIndexInput.Index index() {
|
||||
return new Index();
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ public abstract class FixedIntBlockIndexOutput extends IntIndexOutput {
|
|||
protected abstract void flushBlock() throws IOException;
|
||||
|
||||
@Override
|
||||
public Index index() throws IOException {
|
||||
public IntIndexOutput.Index index() throws IOException {
|
||||
return new Index();
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public abstract class VariableIntBlockIndexInput extends IntIndexInput {
|
|||
}
|
||||
|
||||
@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 VariableIntBlockIndexInput extends IntIndexInput {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Index index() {
|
||||
public IntIndexInput.Index index() {
|
||||
return new Index();
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public abstract class VariableIntBlockIndexOutput extends IntIndexOutput {
|
|||
protected abstract int add(int value) throws IOException;
|
||||
|
||||
@Override
|
||||
public Index index() throws IOException {
|
||||
public IntIndexOutput.Index index() throws IOException {
|
||||
return new Index();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue