mirror of https://github.com/apache/lucene.git
LUCENE-6266: remove deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661177 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8607f76503
commit
e168bfa2f5
|
@ -317,15 +317,6 @@ public class SegmentCommitInfo {
|
|||
}
|
||||
this.delCount = delCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a description of this segment.
|
||||
* @deprecated Use {@link #toString(int)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String toString(Directory dir, int pendingDelCount) {
|
||||
return toString(pendingDelCount);
|
||||
}
|
||||
|
||||
/** Returns a description of this segment. */
|
||||
public String toString(int pendingDelCount) {
|
||||
|
|
|
@ -171,17 +171,6 @@ public final class SegmentInfo {
|
|||
public String toString() {
|
||||
return toString(0);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Used for debugging.
|
||||
*
|
||||
* @deprecated Use {@link #toString(int)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String toString(Directory dir, int delCount) {
|
||||
return toString(delCount);
|
||||
}
|
||||
|
||||
/** Used for debugging. Format may suddenly change.
|
||||
*
|
||||
|
|
|
@ -621,15 +621,6 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentCommitInfo
|
|||
}
|
||||
write(dir);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all file names referenced by SegmentInfo.
|
||||
* @deprecated Use {@link #files(boolean)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public final Collection<String> files(Directory dir, boolean includeSegmentsFile) throws IOException {
|
||||
return files(includeSegmentsFile);
|
||||
}
|
||||
|
||||
/** Returns all file names referenced by SegmentInfo.
|
||||
* The returned collection is recomputed on each
|
||||
|
@ -686,15 +677,6 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentCommitInfo
|
|||
prepareCommit(dir);
|
||||
finishCommit(dir);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns readable description of this segment.
|
||||
* @deprecated Use {@link #toString()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String toString(Directory dir) {
|
||||
return toString();
|
||||
}
|
||||
|
||||
/** Returns readable description of this segment. */
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue