lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r825717 - in /lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard: DeltaBytesReader.java StandardTermsDictReader.java
Date Fri, 16 Oct 2009 00:47:35 GMT
Author: markrmiller
Date: Fri Oct 16 00:47:35 2009
New Revision: 825717

URL: http://svn.apache.org/viewvc?rev=825717&view=rev
Log:
make DeltaBytesReader term final again and remove commented out scanCnt code

Modified:
    lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/DeltaBytesReader.java
    lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java

Modified: lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/DeltaBytesReader.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/DeltaBytesReader.java?rev=825717&r1=825716&r2=825717&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/DeltaBytesReader.java
(original)
+++ lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/DeltaBytesReader.java
Fri Oct 16 00:47:35 2009
@@ -24,8 +24,7 @@
 
 // Handles reading incremental UTF8 encoded terms
 final class DeltaBytesReader {
-  // nocommit: was final
-  TermRef term = new TermRef();
+  final TermRef term = new TermRef();
   final IndexInput in;
   boolean started;
 

Modified: lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java?rev=825717&r1=825716&r2=825717&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java
(original)
+++ lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java
Fri Oct 16 00:47:35 2009
@@ -342,9 +342,6 @@
               //new Throwable().printStackTrace(System.out);
             }
 
-            // nocommit -- why scanCnt > 1?
-            //if (docs.canCaptureState() && scanCnt > 1) {
-
             if (docs.canCaptureState()) {
               // Store in cache
               if (cache.eldest != null) {



Mime
View raw message