FYI, there is a `StringUtils.isEmpty(String)` method (being used elsewhere in this file) that simplifies this condition.  I don't believe `isEmpty()` will check the trimmed length, but there is a similar [`StringUtils.isBlank(String)`] that "Checks if a String is whitespace, empty ("") or null."

[`StringUtils.isBlank(String)`]: http://commons.apache.org/proper/commons-lang/javadocs/api-2.6/org/apache/commons/lang/StringUtils.html#isBlank(java.lang.String)