lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r489230 - /lucene/java/trunk/src/java/org/apache/lucene/index/TermInfosReader.java
Date Thu, 21 Dec 2006 00:21:05 GMT
Author: otis
Date: Wed Dec 20 16:21:05 2006
New Revision: 489230

URL: http://svn.apache.org/viewvc?view=rev&rev=489230
Log:
- ThreadLocals' remove() was added in Java 1.5, using set(null) instead

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

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/TermInfosReader.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/TermInfosReader.java?view=diff&rev=489230&r1=489229&r2=489230
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/TermInfosReader.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/TermInfosReader.java Wed Dec 20 16:21:05
2006
@@ -64,7 +64,7 @@
       origEnum.close();
     if (indexEnum != null)
       indexEnum.close();
-    enumerators.remove();
+    enumerators.set(null);
   }
 
   /** Returns the number of term/value pairs in the set. */



Mime
View raw message