From 2a37a3e820c0a780ffdaf57665f2f018fb1a8d92 Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Tue, 3 May 2005 00:33:27 +0000 Subject: [PATCH] Apply wolfgangs fix to the tests git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@167835 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/lucene/index/memory/MemoryIndex.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java index 1dd70d42b92..23868701ed7 100644 --- a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java +++ b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java @@ -773,10 +773,10 @@ public class MemoryIndex { } 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"); }