activemq-dev mailing list archives

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

                 Key: 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.  

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

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message