changing uses of String.isEmpty() so we can compile with Java 5
This commit is contained in:
parent
edd1ea0a3a
commit
89919ccb2f
3 changed files with 14 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue