jpountz commented on a change in pull request #579:
URL: https://github.com/apache/lucene/pull/579#discussion_r777585290



##########
File path: 
lucene/core/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
##########
@@ -31,7 +31,7 @@
 public final class PositiveIntOutputs extends Outputs<Long> {
 
   // Ignore the deprecated constructor. We do want a unique object here.
-  @SuppressWarnings({"all"})
+  @SuppressWarnings("removal")

Review comment:
       My understanding, which looks confirmed by javadocs, is that the only 
requirement we have is that whenever `0` is used, then it's always the same 
instance.




-- 
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