[ 
https://issues.apache.org/jira/browse/GEODE-2762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969228#comment-15969228
 ] 

ASF subversion and git services commented on GEODE-2762:
--------------------------------------------------------

Commit d939ceb9e2c3ce7c5445c1f1130f2df364376b27 in geode's branch 
refs/heads/develop from [~apa...@the9muses.net]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=d939ceb ]

GEODE-2762: fix varargs warnings

* fix varargs compilation warnings
* remove unused import


> 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
>            Assignee: 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)

Reply via email to