This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git


The following commit(s) were added to refs/heads/master by this push:
     new cbb1f0b2a Use String#isEmpty()
cbb1f0b2a is described below

commit cbb1f0b2adc6e0d3a2968a50934e7e42cd4e60a8
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Nov 28 11:10:53 2023 -0500

    Use String#isEmpty()
---
 .../java/org/apache/commons/collections4/list/AbstractListTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java 
b/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java
index 762865f5e..110ef72e0 100644
--- a/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java
+++ b/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java
@@ -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());

Reply via email to