minor message layout

This commit is contained in:
Iwein Fuld
2009-07-10 19:15:49 +00:00
parent fd373882de
commit 9e74e2aaf0
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ public abstract class AbstractSubscribableChannel extends AbstractMessageChannel
private MessageDispatcher getRequiredDispatcher() {
MessageDispatcher dispatcher = this.getDispatcher();
Assert.state(dispatcher != null, "dispatcher must not be null");
Assert.state(dispatcher != null, "'dispatcher' must not be null");
return dispatcher;
}

View File

@@ -75,7 +75,7 @@ public class ExecutorChannel extends AbstractSubscribableChannel {
ExecutorDecoratingDispatcher(AbstractUnicastDispatcher dispatcher, TaskExecutor taskExecutor) {
Assert.notNull(dispatcher, "dispatcher must not be null");
Assert.notNull(dispatcher, "'dispatcher' must not be null");
this.targetDispatcher = dispatcher;
this.taskExecutor = taskExecutor != null ? taskExecutor
: new ConcurrentTaskExecutor(Executors.newSingleThreadExecutor());