Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -50,8 +50,8 @@ public abstract class AbstractBrokerRegistration {
|
||||
this.clientInboundChannel = clientInboundChannel;
|
||||
this.clientOutboundChannel = clientOutboundChannel;
|
||||
|
||||
this.destinationPrefixes = (destinationPrefixes != null)
|
||||
? Arrays.<String>asList(destinationPrefixes) : Collections.<String>emptyList();
|
||||
this.destinationPrefixes = (destinationPrefixes != null ?
|
||||
Arrays.asList(destinationPrefixes) : Collections.<String>emptyList());
|
||||
}
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ public abstract class AbstractBrokerRegistration {
|
||||
return this.destinationPrefixes;
|
||||
}
|
||||
|
||||
|
||||
protected abstract AbstractBrokerMessageHandler getMessageHandler(SubscribableChannel brokerChannel);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user