Fix small copy paste error (no test failed!!!) in LUCENE-3084 (how can this happen?)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1124316 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2011-05-18 16:16:29 +00:00
parent 4fb8aa0d4e
commit e3a3a7aafe
1 changed files with 1 additions and 1 deletions

View File

@ -2552,7 +2552,7 @@ public class IndexWriter implements Closeable {
lastCommitChangeCount = pendingCommitChangeCount;
segmentInfos.updateGeneration(pendingCommit);
segmentInfos.setUserData(pendingCommit.getUserData());
rollbackSegments = segmentInfos.createBackupSegmentInfos(true);
rollbackSegments = pendingCommit.createBackupSegmentInfos(true);
deleter.checkpoint(pendingCommit, true);
} finally {
// Matches the incRef done in startCommit: