While the latter does a trim()
(
| public static boolean isEmpty( String str ) |
| { |
| return ( ( str == null ) || ( str.trim().isEmpty() ) ); |
| } |
) and is actually doing
StringUtils.isBlank()
the former does never trim.
See also the note added in plexus-utils 1.5.2 (released in 2008): 800c53c