Update Message.java

This commit is contained in:
远方夕阳 2016-06-20 11:07:02 +08:00
parent eb174b1d9f
commit 5ad1a06425

View File

@ -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;
}