lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r694665 - /lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Date Fri, 12 Sep 2008 09:43:07 GMT
Author: mikemccand
Date: Fri Sep 12 02:43:06 2008
New Revision: 694665

URL: http://svn.apache.org/viewvc?rev=694665&view=rev
Log:
move comment to the right place

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java?rev=694665&r1=694664&r2=694665&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java Fri Sep 12 02:43:06
2008
@@ -2540,9 +2540,9 @@
     else {
       Iterator it = pendingMerges.iterator();
       while(it.hasNext()) {
-        // Advance the merge from pending to running
         MergePolicy.OneMerge merge = (MergePolicy.OneMerge) it.next();
         if (merge.isExternal) {
+          // Advance the merge from pending to running
           it.remove();
           runningMerges.add(merge);
           return merge;



Mime
View raw message