You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by eh...@apache.org on 2005/05/03 02:33:28 UTC

svn commit: r167835 - /lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java

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");
 				}