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



##########
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:
       I just reviewed how it's used and it looks like nothing relies on the 
fact that this Long instance is different from `Long.valueOf(0)`.




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