lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r167835 - /lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
Date Tue, 03 May 2005 00:33:28 GMT
Author: ehatcher
Date: Mon May  2 17:33:27 2005
New Revision: 167835

URL: http://svn.apache.org/viewcvs?rev=167835&view=rev
Log:
Apply wolfgangs fix to the tests

Modified:
    lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java

Modified: lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java?rev=167835&r1=167834&r2=167835&view=diff
==============================================================================
--- lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
(original)
+++ lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
Mon May  2 17:33:27 2005
@@ -773,10 +773,10 @@
 				}
 	
 				public boolean skipTo(int target) {
-					if (DEBUG) System.err.println(".skipTo");
-					return false;
+					if (DEBUG) System.err.println(".skipTo: " + target);
+					return next();
 				}
-	
+        
 				public void close() {
 					if (DEBUG) System.err.println(".close");
 				}



Mime
View raw message