Skip to content

Commit

Permalink
Server:同步eclipse版至idea版
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLemon committed Apr 22, 2017
1 parent 53dd0da commit e882880
Show file tree
Hide file tree
Showing 2 changed files with 188 additions and 172 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,20 +296,7 @@ public static boolean isNotEmpty(CharSequence cs, boolean trim) {
* @return
*/
public static boolean isNotEmpty(String s, boolean trim) {
// Log.i(TAG, "getTrimedString s = " + s);
if (s == null) {
return false;
}
if (trim) {
s = s.trim();
}
if (s.length() <= 0) {
return false;
}

currentString = s;

return true;
return ! isEmpty(s, trim);
}

//判断字符是否非空 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Expand Down
Loading

0 comments on commit e882880

Please sign in to comment.