activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1152194 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
Date Fri, 29 Jul 2011 12:58:19 GMT
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/apache/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



Mime
View raw message