You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/04/05 13:24:33 UTC
(commons-beanutils) branch 1.X updated: Use static imports only for JUnit
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.X
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/1.X by this push:
new 8fa1487a Use static imports only for JUnit
8fa1487a is described below
commit 8fa1487a912db3717890e1b08e2852c88f52540e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Apr 5 09:24:28 2026 -0400
Use static imports only for JUnit
---
src/test/java/org/apache/commons/beanutils/bugs/Jira422Test.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/beanutils/bugs/Jira422Test.java b/src/test/java/org/apache/commons/beanutils/bugs/Jira422Test.java
index 99a9f66b..bf5f9d65 100644
--- a/src/test/java/org/apache/commons/beanutils/bugs/Jira422Test.java
+++ b/src/test/java/org/apache/commons/beanutils/bugs/Jira422Test.java
@@ -18,6 +18,7 @@
package org.apache.commons.beanutils.bugs;
import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.fail;
import java.beans.BeanInfo;
import java.beans.IndexedPropertyDescriptor;
@@ -27,7 +28,6 @@ import java.beans.PropertyDescriptor;
import java.util.List;
import org.apache.commons.beanutils.PropertyUtils;
-import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Assumptions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
@@ -60,7 +60,7 @@ public class Jira422Test {
return;
}
}
- Assertions.fail("Could not find PropertyDescriptor for 'file'");
+ fail("Could not find PropertyDescriptor for 'file'");
}
@Test