git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2011-07-29 12:58:18 +00:00
parent 8c59bc3348
commit cef02210b7
1 changed files with 5 additions and 5 deletions

View File

@ -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;