changing uses of String.isEmpty() so we can compile with Java 5

This commit is contained in:
bjl23 2010-03-09 19:47:17 +00:00
parent edd1ea0a3a
commit 89919ccb2f
3 changed files with 14 additions and 6 deletions

View file

@ -207,7 +207,7 @@ public class BasicValidation {
}
private static boolean isEmpty(String value) {
return (value == null || value.trim().isEmpty());
return (value == null || value.trim().length() == 0);
}