lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r525669 - /lucene/java/trunk/src/java/org/apache/lucene/search/BooleanScorer.java
Date Thu, 05 Apr 2007 01:06:17 GMT
Author: otis
Date: Wed Apr  4 18:06:16 2007
New Revision: 525669

URL: http://svn.apache.org/viewvc?view=rev&rev=525669
Log:
- Removed unused BooleanScore param passed to the inner BucketTable class

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/BooleanScorer.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/BooleanScorer.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/BooleanScorer.java?view=diff&rev=525669&r1=525668&r2=525669
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/BooleanScorer.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/BooleanScorer.java Wed Apr  4 18:06:16
2007
@@ -21,7 +21,7 @@
 
 final class BooleanScorer extends Scorer {
   private SubScorer scorers = null;
-  private BucketTable bucketTable = new BucketTable(this);
+  private BucketTable bucketTable = new BucketTable();
 
   private int maxCoord = 1;
   private float[] coordFactors = null;
@@ -201,11 +201,7 @@
     final Bucket[] buckets = new Bucket[SIZE];
     Bucket first = null;                          // head of valid list
   
-    private BooleanScorer scorer;
-
-    public BucketTable(BooleanScorer scorer) {
-      this.scorer = scorer;
-    }
+    public BucketTable() {}
 
     public final int size() { return SIZE; }
 



Mime
View raw message