lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r883980 - /lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestNorms.java
Date Wed, 25 Nov 2009 05:24:11 GMT
Author: rmuir
Date: Wed Nov 25 05:24:10 2009
New Revision: 883980

URL: http://svn.apache.org/viewvc?rev=883980&view=rev
Log:
close the reader, unlike trunk it removes the temp dir, which fails on win32

Modified:
    lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestNorms.java

Modified: lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestNorms.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestNorms.java?rev=883980&r1=883979&r2=883980&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestNorms.java (original)
+++ lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestNorms.java Wed Nov
25 05:24:10 2009
@@ -192,6 +192,7 @@
         assertEquals("stored norm value of "+field+" for doc "+j+" is "+norm+" - a mismatch!",
norm, norm1, 0.000001);
       }
     }
+    ir.close();
   }
 
   private void addDocs(Directory dir, int ndocs, boolean compound) throws IOException {



Mime
View raw message