Sramp 507

https://issues.jboss.org/browse/SRAMP-507
Use StringUtils here?