lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1211705 - /lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/DirectoryReader.java
Date Wed, 07 Dec 2011 23:29:27 GMT
Author: uschindler
Date: Wed Dec  7 23:29:26 2011
New Revision: 1211705

URL: http://svn.apache.org/viewvc?rev=1211705&view=rev
Log:
LUCENE-3606: Fix one nocommit by removal :-)

Modified:
    lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/DirectoryReader.java

Modified: lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/DirectoryReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/DirectoryReader.java?rev=1211705&r1=1211704&r2=1211705&view=diff
==============================================================================
--- lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/DirectoryReader.java
(original)
+++ lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/DirectoryReader.java
Wed Dec  7 23:29:26 2011
@@ -211,7 +211,7 @@ class DirectoryReader extends IndexReade
           readerShared[i] = false;
           newReaders[i] = newReader;
         } else {
-          newReader = newReaders[i].reopenSegment(infos.info(i), doClone, true /* nocommit:
remove readOnly */);
+          newReader = newReaders[i].reopenSegment(infos.info(i), doClone, true);
           if (newReader == null) {
             // this reader will be shared between the old and the new one,
             // so we must incRef it



Mime
View raw message