From 70040e19ec559312c9120a9eeb36196927b83802 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Thu, 25 Jun 2009 19:54:49 +0000 Subject: [PATCH] LUCENE-1707: refCount doesn't need to be volatile git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788493 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/index/IndexReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.java index 4bb7f5a1558..21f38c727d4 100644 --- a/src/java/org/apache/lucene/index/IndexReader.java +++ b/src/java/org/apache/lucene/index/IndexReader.java @@ -113,7 +113,7 @@ public abstract class IndexReader implements Cloneable { private boolean closed; protected boolean hasChanges; - private volatile int refCount; + private int refCount; private boolean disableFakeNorms = false;