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
|
@ -318,15 +318,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) {
|
||||
String s = info.toString(delCount + pendingDelCount);
|
||||
|
|
|
@ -172,17 +172,6 @@ public final class SegmentInfo {
|
|||
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.
|
||||
*
|
||||
* <p>Current format looks like
|
||||
|
|
|
@ -622,15 +622,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
|
||||
* invocation. */
|
||||
|
@ -687,15 +678,6 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentCommitInfo
|
|||
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
|
||||
public String toString() {
|
||||
|
|
Loading…
Reference in New Issue