lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r788493 - /lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java
Date Thu, 25 Jun 2009 19:54:49 GMT
Author: mikemccand
Date: Thu Jun 25 19:54:49 2009
New Revision: 788493

URL: http://svn.apache.org/viewvc?rev=788493&view=rev
Log:
LUCENE-1707: refCount doesn't need to be volatile

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

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java?rev=788493&r1=788492&r2=788493&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java Thu Jun 25 19:54:49
2009
@@ -113,7 +113,7 @@
   private boolean closed;
   protected boolean hasChanges;
   
-  private volatile int refCount;
+  private int refCount;
 
   private boolean disableFakeNorms = false;
 



Mime
View raw message