Remove unnecessary instanceof check and @Suppress
This commit is contained in:
@@ -119,7 +119,6 @@ public abstract class AbstractChannelNameResolvingMessageRouter extends Abstract
|
||||
return channels;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void addToCollection(Collection<MessageChannel> channels, Collection<?> channelIndicators, Message<?> message) {
|
||||
if (channelIndicators == null) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user