mirror of
https://gitee.com/farsunset/cim.git
synced 2025-07-12 19:39:06 +08:00
Update Message.java
This commit is contained in:
parent
0d33050eda
commit
eb174b1d9f
@ -197,7 +197,7 @@ public class Message implements Serializable {
|
||||
}
|
||||
|
||||
public boolean isNotEmpty(String txt) {
|
||||
return txt != null && !txt.isEmpty();
|
||||
return txt != null && txt.trim().length()>0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user