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 2025/06/12 18:47:03 UTC

(commons-beanutils) 01/02: Remove one @SuppressWarnings

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

commit 3ceaf0f7e5ddf0a3877127aca745650e8dbd7c09
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Thu Jun 12 14:44:35 2025 -0400

    Remove one @SuppressWarnings
---
 src/test/java/org/apache/commons/beanutils2/ConvertUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/beanutils2/ConvertUtilsTest.java b/src/test/java/org/apache/commons/beanutils2/ConvertUtilsTest.java
index 62ef745a..9ae4267f 100644
--- a/src/test/java/org/apache/commons/beanutils2/ConvertUtilsTest.java
+++ b/src/test/java/org/apache/commons/beanutils2/ConvertUtilsTest.java
@@ -82,7 +82,7 @@ class ConvertUtilsTest {
     }
 
     @Test
-    @SuppressWarnings({ "unchecked", "rawtypes" })
+    @SuppressWarnings({ "rawtypes" })
     // We need to use raw types in order to test legacy converters
     void testConvertToString() throws Exception {
         final Converter dummyConverter = (type, value) -> value;