You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by rm...@apache.org on 2009/11/25 06:24:11 UTC

svn commit: r883980 - /lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestNorms.java

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 {