make IndexReader.getRefCount() expert and public

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-03-07 10:47:44 +00:00
parent 7f32bbf72f
commit 2e2eafd3d2
1 changed files with 3 additions and 3 deletions

View File

@ -114,8 +114,8 @@ public abstract class IndexReader implements Cloneable {
private volatile int refCount; private volatile int refCount;
// for testing /** Expert: returns the current refCount for this reader */
synchronized int getRefCount() { public synchronized int getRefCount() {
return refCount; return refCount;
} }