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
This commit is contained in:
Mark Robert Miller 2009-08-01 14:18:19 +00:00
parent 175e8b546d
commit 3e869d9336
1 changed files with 0 additions and 10 deletions

View File

@ -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;
}