From 3e869d9336b6bae97942a4b20132c9725b3616e7 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Sat, 1 Aug 2009 14:18:19 +0000 Subject: [PATCH] remove system.out and unnecessary next() in tokenstream git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799865 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/lucene/search/highlight/TokenSources.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java b/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java index f3660e8fe6c..19ae9bca7bb 100644 --- a/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java +++ b/contrib/highlighter/src/java/org/apache/lucene/search/highlight/TokenSources.java @@ -151,17 +151,7 @@ public class TokenSources offsetAtt = (OffsetAttribute) addAttribute(OffsetAttribute.class); } - public Token next(final Token reusableToken) { - System.out.println("next token"); - assert reusableToken != null; - if (currentToken >= tokens.length) { - return null; - } - return tokens[currentToken++]; - } - public boolean incrementToken() throws IOException { - System.out.println("inc token"); if (currentToken >= tokens.length) { return false; }