diff --git a/src/java/org/apache/lucene/index/DirectoryReader.java b/src/java/org/apache/lucene/index/DirectoryReader.java index 21a38083cc4..b1d5664483b 100644 --- a/src/java/org/apache/lucene/index/DirectoryReader.java +++ b/src/java/org/apache/lucene/index/DirectoryReader.java @@ -561,7 +561,6 @@ class DirectoryReader extends IndexReader implements Cloneable { return false; } - private byte[] ones; public synchronized byte[] norms(String field) throws IOException { ensureOpen(); byte[] bytes = (byte[])normsCache.get(field); diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.java index 4e0fbd1ceb6..f8a9235c850 100644 --- a/src/java/org/apache/lucene/index/IndexReader.java +++ b/src/java/org/apache/lucene/index/IndexReader.java @@ -121,8 +121,6 @@ public abstract class IndexReader implements Cloneable { static int DEFAULT_TERMS_INDEX_DIVISOR = 1; - private boolean disableFakeNorms = false; - /** Expert: returns the current refCount for this reader */ public synchronized int getRefCount() { return refCount;