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


The following commit(s) were added to refs/heads/master by this push:
     new 161dbcfbb Fix console compiler warning: 
ReflectionDiffBuilderTest.java:[172,52] non-varargs call of varargs method with 
inexact argument type for last parameter
161dbcfbb is described below

commit 161dbcfbbd21c5928a6dc7a1138afb1179eacd69
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Nov 19 06:45:39 2025 -0500

    Fix console compiler warning: ReflectionDiffBuilderTest.java:[172,52]
    non-varargs call of varargs method with inexact argument type for last
    parameter
---
 .../org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java 
b/src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java
index 5e80d9b29..7f17f2107 100644
--- 
a/src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java
+++ 
b/src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java
@@ -169,7 +169,7 @@ void 
testGetExcludeFieldNamesWithNullExcludedFieldNamesCtor() {
         final ReflectionDiffBuilder<TypeTestClass> reflectionDiffBuilder =
                 new ReflectionDiffBuilder<>(new TypeTestClass(), new 
TypeTestChildClass(), SHORT_STYLE);
         // @formatter:on
-        reflectionDiffBuilder.setExcludeFieldNames(null);
+        reflectionDiffBuilder.setExcludeFieldNames((String[]) null);
         final String[] excludeFieldNames = 
reflectionDiffBuilder.getExcludeFieldNames();
         assertNotNull(excludeFieldNames);
         assertEquals(0, excludeFieldNames.length);

Reply via email to