Use isEmpty()

This commit is contained in:
AsamK 2020-07-02 21:34:52 +02:00
parent 23282fc7e8
commit 2f9873c35e

View file

@ -746,7 +746,7 @@ public class Manager implements Closeable {
if (name.isEmpty()) { if (name.isEmpty()) {
name = null; name = null;
} }
if (members.size() == 0) { if (members.isEmpty()) {
members = null; members = null;
} }
if (avatar.isEmpty()) { if (avatar.isEmpty()) {