Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

update comment after limiting number of debug tokens

Michael Sokolov6728f0c4f461
diff --git a/lucene/test-framework/src/java/org/apache/lucene/analysis/ValidatingTokenFilter.java b/lucene/test-framework/src/java/org/apache/lucene/analysis/ValidatingTokenFilter.java
index 9ab9489e8ed..5d5859ea023 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/analysis/ValidatingTokenFilter.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/analysis/ValidatingTokenFilter.java
@@ -56,7 +56,7 @@ public final class ValidatingTokenFilter extends TokenFilter {
private final OffsetAttribute offsetAtt = getAttribute(OffsetAttribute.class);
private final CharTermAttribute termAtt = getAttribute(CharTermAttribute.class);
- // record all the Tokens seen so they can be dumped on failure
+ // record the last MAX_DEBUG_TOKENS tokens seen so they can be dumped on failure
private final List<Token> tokens = new LinkedList<>();
private final String name;