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:
Robert Muir 2015-02-20 18:22:51 +00:00
parent 8607f76503
commit e168bfa2f5
3 changed files with 0 additions and 38 deletions

View File

@ -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) {

View File

@ -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.
*

View File

@ -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