rmuir opened a new pull request, #11978:
URL: https://github.com/apache/lucene/pull/11978

   Currently the test uses `Arrays.toString()` which will return something like 
`[Cabaca1234`.  It results in the test being wimpy, it should use `new 
String(char[])` instead.
   
   Also enable the similar hashcode check for arrays.
   
   ```
   
/home/rmuir/workspace/lucene/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/TestStemmerOverrideFilter.java:105:
 error: [ArrayToString] Calling toString on an array does not provide useful 
information
             seenInputValue = buffer.toString();
                              ^
       (see https://errorprone.info/bugpattern/ArrayToString)
     Did you mean 'seenInputValue = Arrays.toString(buffer);'?
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to