You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2011/07/29 14:59:09 UTC

[jira] [Resolved] (AMQ-3426) AbstractRegion.java has incorrect null check in contructor

     [ 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