Skip to content

Commit 161dbcf

Browse files
committed
Fix console compiler warning: ReflectionDiffBuilderTest.java:[172,52]
non-varargs call of varargs method with inexact argument type for last parameter
1 parent 4e81d1a commit 161dbcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void testGetExcludeFieldNamesWithNullExcludedFieldNamesCtor() {
169169
final ReflectionDiffBuilder<TypeTestClass> reflectionDiffBuilder =
170170
new ReflectionDiffBuilder<>(new TypeTestClass(), new TypeTestChildClass(), SHORT_STYLE);
171171
// @formatter:on
172-
reflectionDiffBuilder.setExcludeFieldNames(null);
172+
reflectionDiffBuilder.setExcludeFieldNames((String[]) null);
173173
final String[] excludeFieldNames = reflectionDiffBuilder.getExcludeFieldNames();
174174
assertNotNull(excludeFieldNames);
175175
assertEquals(0, excludeFieldNames.length);

0 commit comments

Comments
 (0)