remove dead code

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063842 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-01-26 19:25:50 +00:00
parent c40a12dd46
commit 3da5bd8728
1 changed files with 0 additions and 5 deletions

View File

@ -215,7 +215,6 @@ public class IndexWriter implements Closeable {
private long lastCommitChangeCount; // last changeCount that was committed
private SegmentInfos rollbackSegmentInfos; // segmentInfos we will fallback to if the commit fails
private HashMap<SegmentInfo,Integer> rollbackSegments;
volatile SegmentInfos pendingCommit; // set when a commit is pending (after prepareCommit() & before commit())
volatile long pendingCommitChangeCount;
@ -860,10 +859,6 @@ public class IndexWriter implements Closeable {
private synchronized void setRollbackSegmentInfos(SegmentInfos infos) {
rollbackSegmentInfos = (SegmentInfos) infos.clone();
rollbackSegments = new HashMap<SegmentInfo,Integer>();
final int size = rollbackSegmentInfos.size();
for(int i=0;i<size;i++)
rollbackSegments.put(rollbackSegmentInfos.info(i), Integer.valueOf(i));
}
/**