minor message layout
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user