INT-2514 - Remove redundant cast in AutoCreateCandidatesCollector
Jira: https://jira.springsource.org/browse/INT-2514
This commit is contained in:
committed by
Gary Russell
parent
41d73d91b3
commit
7651d9fdf7
@@ -69,7 +69,7 @@ final class ChannelInitializer implements BeanFactoryAware, InitializingBean {
|
||||
}
|
||||
else {
|
||||
AutoCreateCandidatesCollector channelCandidatesCollector =
|
||||
(AutoCreateCandidatesCollector) beanFactory.getBean(AUTO_CREATE_CHANNEL_CANDIDATES_BEAN_NAME, AutoCreateCandidatesCollector.class);
|
||||
beanFactory.getBean(AUTO_CREATE_CHANNEL_CANDIDATES_BEAN_NAME, AutoCreateCandidatesCollector.class);
|
||||
Assert.notNull(channelCandidatesCollector, "Failed to locate '" +
|
||||
ChannelInitializer.AUTO_CREATE_CHANNEL_CANDIDATES_BEAN_NAME);
|
||||
// at this point channelNames are all resolved with placeholders and SpEL
|
||||
|
||||
Reference in New Issue
Block a user