[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-commits
Subject:    svn commit: r1152194 -
From:       tabish () apache ! org
Date:       2011-07-29 12:58:19
Message-ID: 20110729125819.BAFF023888CD () eris ! apache ! org
[Download RAW message or body]

Author: tabish
Date: Fri Jul 29 12:58:18 2011
New Revision: 1152194

URL: http://svn.apache.org/viewvc?rev=1152194&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQ-3426

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java


Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
                
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apach \
e/activemq/broker/region/AbstractRegion.java?rev=1152194&r1=1152193&r2=1152194&view=diff
 ==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java \
                (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java \
Fri Jul 29 12:58:18 2011 @@ -50,7 +50,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * 
+ *
  */
 public abstract class AbstractRegion implements Region {
 
@@ -78,7 +78,7 @@ public abstract class AbstractRegion imp
         this.destinationStatistics = destinationStatistics;
         this.usageManager = memoryManager;
         this.taskRunnerFactory = taskRunnerFactory;
-        if (broker == null) {
+        if (destinationFactory == null) {
             throw new IllegalArgumentException("null destinationFactory");
         }
         this.destinationFactory = destinationFactory;
@@ -223,7 +223,7 @@ public abstract class AbstractRegion imp
 
     /**
      * Provide an exact or wildcard lookup of destinations in the region
-     * 
+     *
      * @return a set of matching destination objects.
      */
     public Set<Destination> getDestinations(ActiveMQDestination destination) {
@@ -314,7 +314,7 @@ public abstract class AbstractRegion imp
 
     /**
      * Get all the Destinations that are in storage
-     * 
+     *
      * @return Set of all stored destinations
      */
     public Set getDurableDestinations() {
@@ -506,7 +506,7 @@ public abstract class AbstractRegion imp
 
     /**
      * Removes a Producer.
-     * 
+     *
      * @param context
      *            the environment the operation is being executed under.
      * @throws Exception


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic