Skip to content

Commit

Permalink
Only overwrite empty dominant values, but no longer blank ones
Browse files Browse the repository at this point in the history
  • Loading branch information
kwin committed Sep 11, 2022
1 parent 4b83f36 commit 54c611f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,6 @@ public static boolean isNotEmpty( String str )

public static boolean isEmpty( String str )
{
return ( str == null || str.trim().length() == 0 );
return ( str == null || str.length() == 0 );
}
}

0 comments on commit 54c611f

Please sign in to comment.