move comment to the right place

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694665 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2008-09-12 09:43:06 +00:00
parent c6e5618674
commit 5790a86987
1 changed files with 1 additions and 1 deletions

View File

@ -2540,9 +2540,9 @@ public class IndexWriter {
else { else {
Iterator it = pendingMerges.iterator(); Iterator it = pendingMerges.iterator();
while(it.hasNext()) { while(it.hasNext()) {
// Advance the merge from pending to running
MergePolicy.OneMerge merge = (MergePolicy.OneMerge) it.next(); MergePolicy.OneMerge merge = (MergePolicy.OneMerge) it.next();
if (merge.isExternal) { if (merge.isExternal) {
// Advance the merge from pending to running
it.remove(); it.remove();
runningMerges.add(merge); runningMerges.add(merge);
return merge; return merge;