Skip to content

Commit 54c611f

Browse files
committed
Only overwrite empty dominant values, but no longer blank ones
This closes codehaus-plexus#212
1 parent 4b83f36 commit 54c611f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/codehaus/plexus/util/xml/Xpp3DomUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,6 @@ public static boolean isNotEmpty( String str )
282282

283283
public static boolean isEmpty( String str )
284284
{
285-
return ( str == null || str.trim().length() == 0 );
285+
return ( str == null || str.length() == 0 );
286286
}
287287
}

0 commit comments

Comments
 (0)