Kirk Lund created GEODE-2762:
--------------------------------
Summary: ArrayUtilsTest generates build warnings in geode-core
Key: GEODE-2762
URL: https://issues.apache.org/jira/browse/GEODE-2762
Project: Geode
Issue Type: Bug
Components: tests
Reporter: Kirk Lund
{noformat}
:geode-core:compileTestJava
/Users/klund/dev/gemfire_CLEAN/open/geode-core/src/test/java/org/apache/geode/internal/util/ArrayUtilsTest.java:99:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
assertThat(getFirst((Object[]) null)).isNull();
^
cast to Object[] for a varargs call
cast to Object[][] for a non-varargs call and to suppress this warning
/Users/klund/dev/gemfire_CLEAN/open/geode-core/src/test/java/org/apache/geode/internal/util/ArrayUtilsTest.java:104:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
assertThat(getFirst(new Object[0])).isNull();
^
cast to Object[] for a varargs call
cast to Object[][] for a non-varargs call and to suppress this warning
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)