refactor login

This commit is contained in:
wenshao
2012-08-23 19:14:36 +08:00
parent e5371bef0a
commit 1a700871c7
2 changed files with 64 additions and 45 deletions
@@ -185,4 +185,12 @@ public class StringUtils {
}
return a.equals(b);
}
public static boolean isEmpty(String value) {
if (value == null || value.length() == 0) {
return true;
}
return false;
}
}