Use isEmpty()
This commit is contained in:
parent
23282fc7e8
commit
2f9873c35e
@ -746,7 +746,7 @@ public class Manager implements Closeable {
|
||||
if (name.isEmpty()) {
|
||||
name = null;
|
||||
}
|
||||
if (members.size() == 0) {
|
||||
if (members.isEmpty()) {
|
||||
members = null;
|
||||
}
|
||||
if (avatar.isEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user