clebertsuconic commented on a change in pull request #3728:
URL: https://github.com/apache/activemq-artemis/pull/3728#discussion_r705546461



##########
File path: 
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AMQPMirrorControllerTarget.java
##########
@@ -476,4 +487,48 @@ public void postAcknowledge(MessageReference ref, 
AckReason reason) {
    public void sendMessage(Message message, RoutingContext context, 
List<MessageReference> refs) {
    }
 
+   // I need a supress warning annotation here
+   // because errorProne is issuing an error her, however I really intend to 
compare PageACK against PagedReference
+   @SuppressWarnings("ComparableType")

Review comment:
       I need the opposite of IntFunction though... I need a 
Function<PageReference,Integer>
   
   I will create my own to avoid the boxing. at least until I could find an 
equivalent on JDK.




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


Reply via email to