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-beanutils.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e80aad1 Use assertNotNull()
5e80aad1 is described below

commit 5e80aad16516bf6f94c37cf44a9e6f0a557568bc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Jul 26 11:04:33 2024 -0400

    Use assertNotNull()
---
 src/test/java/org/apache/commons/beanutils2/bugs/Jira509TestCase.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/beanutils2/bugs/Jira509TestCase.java 
b/src/test/java/org/apache/commons/beanutils2/bugs/Jira509TestCase.java
index 121f43c1..481fb37b 100644
--- a/src/test/java/org/apache/commons/beanutils2/bugs/Jira509TestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/bugs/Jira509TestCase.java
@@ -16,6 +16,8 @@
  */
 package org.apache.commons.beanutils2.bugs;
 
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
@@ -70,7 +72,7 @@ public class Jira509TestCase {
                     @Override
                     public void run() {
                         final WrapDynaClass w = 
WrapDynaClass.createDynaClass(clazz);
-                        assert w != null;
+                        assertNotNull(w);
                     }
 
                 });

Reply via email to