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

ASF GitHub Bot commented on GEODE-3430:
---------------------------------------

GitHub user kirklund opened a pull request:

    https://github.com/apache/geode/pull/727

    GEODE-3430: fix varargs usage

    Also, general cleanup of ConnectCommandTest.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kirklund/geode GEODE-3430-ConnectCommandTest

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode/pull/727.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #727
    
----
commit cbbb597cfc5e3dd8610fbb29d7df3875c02b49e5
Author: Kirk Lund <[email protected]>
Date:   2017-08-21T17:12:08Z

    GEODE-3430: fix varargs usage
    
    Also, general cleanup of ConnectCommandTest.

----


> ConnectCommandTest generates non-varargs compilation warnings
> -------------------------------------------------------------
>
>                 Key: GEODE-3430
>                 URL: https://issues.apache.org/jira/browse/GEODE-3430
>             Project: Geode
>          Issue Type: Bug
>          Components: build, gfsh
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>
> {noformat}
> :geode-core:compileTestJava
> /Users/klund/dev/gemfire/open/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandTest.java:277:
>  warning: non-varargs call of varargs method with inexact argument type for 
> last parameter;
>     assertThat(connectCommand.isSslImpliedBySslOptions(null)).isFalse();
>                                                        ^
>   cast to String for a varargs call
>   cast to String[] for a non-varargs call and to suppress this warning
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to