Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F58663EF for ; Fri, 29 Jul 2011 12:59:34 +0000 (UTC) Received: (qmail 5469 invoked by uid 500); 29 Jul 2011 12:59:34 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 5382 invoked by uid 500); 29 Jul 2011 12:59:33 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 5374 invoked by uid 99); 29 Jul 2011 12:59:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 12:59:33 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 12:59:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BA74B91549 for ; Fri, 29 Jul 2011 12:59:09 +0000 (UTC) Date: Fri, 29 Jul 2011 12:59:09 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <870832545.18419.1311944349745.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (AMQ-3426) AbstractRegion.java has incorrect null check in contructor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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