[
https://issues.apache.org/jira/browse/ARTEMIS-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162016#comment-16162016
]
ASF GitHub Bot commented on ARTEMIS-1407:
-----------------------------------------
Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/1528
+1 checked code for usages and confirm this is unused.
> FindBugs: Suspicious calls to generic collection methods in
> AMQPConnectionCallback.java
> ---------------------------------------------------------------------------------------
>
> Key: ARTEMIS-1407
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1407
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP, Broker
> Affects Versions: 2.4.0
> Reporter: Jiri Danek
>
> {noformat}
> 249 public Transaction removeTransaction(Binary txid) {
> 250 XidImpl xid = newXID(txid.getArray());
>
> CID 1420682 (#1 of 1): GC: Suspicious calls to generic collection methods
> (FB.GC_UNRELATED_TYPES)
> 1. defect: org.apache.activemq.artemis.core.transaction.impl.XidImpl is
> incompatible with expected argument type org.apache.qpid.proton.amqp.Binary.
> 251 return transactions.remove(xid);
> 252 }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)