You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2017/09/11 16:37:00 UTC

[jira] [Created] (ARTEMIS-1407) FindBugs: Suspicious calls to generic collection methods in AMQPConnectionCallback.java

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)