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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]