mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8c59bc3348
commit
cef02210b7
|
@ -78,7 +78,7 @@ public abstract class AbstractRegion implements Region {
|
|||
this.destinationStatistics = destinationStatistics;
|
||||
this.usageManager = memoryManager;
|
||||
this.taskRunnerFactory = taskRunnerFactory;
|
||||
if (broker == null) {
|
||||
if (destinationFactory == null) {
|
||||
throw new IllegalArgumentException("null destinationFactory");
|
||||
}
|
||||
this.destinationFactory = destinationFactory;
|
||||
|
|
Loading…
Reference in New Issue