garyrussell/spring-integration — comment on commit 64c310279aead749353087ced971c60f16b2e9fe
File: spring-integration-http/src/main/java/org/springframework/integration/http/outbound/HttpRequestExecutingMessageHandler.java line 331
By olegz:

For consistency you might want to do StringUtils.hasText(..)