vthacker commented on a change in pull request #1828: URL: https://github.com/apache/lucene-solr/pull/1828#discussion_r483719049
########## File path: lucene/core/src/java/org/apache/lucene/analysis/CharArrayMap.java ########## @@ -523,6 +523,7 @@ public void clear() { * @throws NullPointerException * if the given map is <code>null</code>. */ + @SuppressWarnings("ReferenceEquality") Review comment: This was the example you wanted to try out on how to suppress legitimate warnings of ReferenceEquality ( or any other warnings ) when we start enabling the checks ? ---------------------------------------------------------------- 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. 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