Update Message.java

This commit is contained in:
远方夕阳 2016-06-20 11:06:19 +08:00
parent 0d33050eda
commit eb174b1d9f

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