INT-1866 polishing

This commit is contained in:
Oleg Zhurakousky
2011-05-03 18:41:31 -04:00
parent 7622fd9112
commit e812b6b0e3

View File

@@ -344,10 +344,7 @@ public class DefaultHttpHeaderMapper implements HeaderMapper<HttpHeaders>, BeanF
}
public void afterPropertiesSet() throws Exception {
if (this.beanFactory != null && this.beanFactory instanceof DefaultListableBeanFactory){
this.conversionService = IntegrationContextUtils.getConversionService(this.beanFactory);
}
this.conversionService = IntegrationContextUtils.getConversionService(this.beanFactory);
}
private boolean containsElementIgnoreCase(String[] headerNames, String name){