mirror of https://github.com/apache/lucene.git
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:
parent
c6e5618674
commit
5790a86987
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue