mirror of
https://gitee.com/farsunset/cim.git
synced 2025-07-24 00:31:47 +08:00
Update Message.java
This commit is contained in:
parent
eb174b1d9f
commit
5ad1a06425
@ -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