Remove unnecessary instanceof check and @Suppress

This commit is contained in:
Dave Syer
2010-10-05 13:53:24 -07:00
parent eb2729f0cb
commit 3cfbbd9f79

View File

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