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

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


The following commit(s) were added to refs/heads/master by this push:
     new 92c275f1f [LANG-1831] Add missing test for ObjectUtils.isEmpty(Object) 
(#1755)
92c275f1f is described below

commit 92c275f1f1ec800523ee247b1133f76712b9ff2a
Author: Maksym Korshun <[email protected]>
AuthorDate: Mon Jul 27 16:15:22 2026 +0200

    [LANG-1831] Add missing test for ObjectUtils.isEmpty(Object) (#1755)
---
 src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
index 9ca121aa3..8b2584e6d 100644
--- a/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
@@ -674,6 +674,7 @@ void testIsEmpty() {
         assertFalse(ObjectUtils.isEmpty(NON_EMPTY_MAP));
         assertFalse(ObjectUtils.isEmpty(Optional.of(new Object())));
         assertFalse(ObjectUtils.isEmpty(Optional.ofNullable(new Object())));
+        assertFalse(ObjectUtils.isEmpty(1234));
     }
 
     @Test

Reply via email to