lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject [1/3] lucene-solr:master: update comment after limiting number of debug tokens
Date Tue, 27 Nov 2018 11:00:45 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 72ca4488d -> 6728f0c4f


update comment after limiting number of debug tokens


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/6728f0c4
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/6728f0c4
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/6728f0c4

Branch: refs/heads/master
Commit: 6728f0c4f4612d32c1eea35395669c0520021acb
Parents: 34ed015
Author: Michael Sokolov <sokolovm@amazon.com>
Authored: Sat Nov 24 10:48:26 2018 -0500
Committer: Mike McCandless <mikemccand@apache.org>
Committed: Tue Nov 27 06:00:29 2018 -0500

----------------------------------------------------------------------
 .../src/java/org/apache/lucene/analysis/ValidatingTokenFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6728f0c4/lucene/test-framework/src/java/org/apache/lucene/analysis/ValidatingTokenFilter.java
----------------------------------------------------------------------
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 9ab9489..5d5859e 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;


Mime
View raw message