Jiri Danek created ARTEMIS-1407:
-----------------------------------

             Summary: 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)

Reply via email to