Use String#isEmpty()

This commit is contained in:
Gary Gregory 2023-11-28 11:10:53 -05:00
parent ced89f524f
commit cbb1f0b2ad
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ public abstract class AbstractListTest<E> extends AbstractCollectionTest<E> {
resetFull();
list = getCollection();
assertFalse(list.equals(""), "List shouldn't equal String");
assertFalse(list.isEmpty(), "List shouldn't equal String");
verify();
final List<E> listForC = Arrays.asList(getFullElements());