lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpou...@apache.org
Subject svn commit: r1544087 - in /lucene/dev/trunk: ./ lucene/ lucene/test-framework/ lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingStoredFieldsFormat.java
Date Thu, 21 Nov 2013 10:20:54 GMT
Author: jpountz
Date: Thu Nov 21 10:20:53 2013
New Revision: 1544087

URL: http://svn.apache.org/r1544087
Log:
Fix test bug: StoredFieldsWriter.close can be called in case an exception occurred.

Modified:
    lucene/dev/trunk/   (props changed)
    lucene/dev/trunk/lucene/   (props changed)
    lucene/dev/trunk/lucene/test-framework/   (props changed)
    lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingStoredFieldsFormat.java

Modified: lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingStoredFieldsFormat.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingStoredFieldsFormat.java?rev=1544087&r1=1544086&r2=1544087&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingStoredFieldsFormat.java
(original)
+++ lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/AssertingStoredFieldsFormat.java
Thu Nov 21 10:20:53 2013
@@ -135,7 +135,6 @@ public class AssertingStoredFieldsFormat
     @Override
     public void close() throws IOException {
       in.close();
-      assert docStatus != Status.STARTED;
     }
   }
 }



Mime
View raw message