NOT_EMPTY_STRING
Examples:
if (s.length() != 0) { ... }
Can be refactored as:
if (StringUtils.IsNotEmpty(s)) { ... }
library: Apache commons-lang JavaDoc Download
See also: EMPTY_STRING
Home List of rules