activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3426) AbstractRegion.java has incorrect null check in contructor
Date Fri, 29 Jul 2011 12:59:09 GMT
AbstractRegion.java has incorrect null check in contructor
----------------------------------------------------------

                 Key: AMQ-3426
                 URL: https://issues.apache.org/jira/browse/AMQ-3426
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.5.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
            Priority: Trivial
             Fix For: 5.6.0


The constructor for AbstractRegion has a null check that was meant for the destinationFactory
but instead check the broker param a second time resulting in some dead code.  

{code}
        if (broker == null) {
            throw new IllegalArgumentException("null destinationFactory");
        }
        this.destinationFactory = destinationFactory;
{code}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message