[ 
https://issues.apache.org/jira/browse/AMQ-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish resolved AMQ-3426.
-------------------------------

    Resolution: Fixed

fix applied in trunk

> 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

        

Reply via email to