INT-1866 polishing

This commit is contained in:
Oleg Zhurakousky
2011-05-03 18:46:26 -04:00
parent e812b6b0e3
commit 81b125d7e2

View File

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