You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "can_do (JIRA)" <ji...@apache.org> on 2014/11/28 07:19:13 UTC

[jira] [Created] (AMQ-5462) dead code in method createSession of class ActiveMQConnection

can_do created AMQ-5462:
---------------------------

             Summary: dead code in method createSession of class ActiveMQConnection 
                 Key: AMQ-5462
                 URL: https://issues.apache.org/jira/browse/AMQ-5462
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMS client
    Affects Versions: 5.10.0, 5.9.1, 5.9.0, 5.8.0
         Environment: 64bit win7+64bit jdk1.7.0_72
            Reporter: can_do
            Priority: Minor
             Fix For: NEEDS_REVIEW


org.apache.activemq.ActiveMQConnection ==>
in method public Session createSession(boolean transacted, int acknowledgeMode)
    throws JMSException

 in statement [return new EMQSession ... ]
code [acknowledgeMode == Session.SESSION_TRANSACTED] is dead.
becuase this condition has been decided in method entrance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)