From 83ab2542dbaa729f827273a9e5428f85982220b0 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Wed, 14 Oct 2009 13:42:29 +0000 Subject: [PATCH] remove unused private fields git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825131 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/index/DirectoryReader.java | 1 - src/java/org/apache/lucene/index/IndexReader.java | 2 -- 2 files changed, 3 deletions(-) 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;