Skip to content

Commit

Permalink
Use String#isEmpty()
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 28, 2023
1 parent ced89f5 commit cbb1f0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public void testListEquals() {

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());
Expand Down

0 comments on commit cbb1f0b

Please sign in to comment.