geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1660) geode-core:compileTestJava generates compile warnings
Date Wed, 13 Jul 2016 17:21:20 GMT

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

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

GitHub user gracemeilen opened a pull request:

    https://github.com/apache/incubator-geode/pull/200

    GEODE-1660: Fix Javadoc and Compilation Warnings

    GEODE-1660: fix compilation warnings
    GEODE-1654: Fix Javadoc warnings
    GEODE-1656: fix compilation warnings with @SuppressWarnings annotations


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

    $ git pull https://github.com/gracemeilen/incubator-geode feature/GEODE-1654

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

    https://github.com/apache/incubator-geode/pull/200.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 #200
    
----
commit 2865d6007c5ceae74e547274d0824b995f4f1b57
Author: gmeilen <gracemeilen@gmail.com>
Date:   2016-07-11T23:42:56Z

    GEODE-1656: fix compilation warnings with @SuppressWarnings annotations

commit 308a3c8b0ee0ac05ba8049b5bf06e1794f4e4f0d
Author: gmeilen <gracemeilen@gmail.com>
Date:   2016-07-13T16:58:22Z

    GEODE-1654: Fix Javadoc warnings

commit 3ec17f1d56215b9b52dd0861d0cdea1a1d15e649
Author: gmeilen <gracemeilen@gmail.com>
Date:   2016-07-13T17:14:58Z

    GEODE-1660: fix compilation warnings

----


> geode-core:compileTestJava generates compile warnings
> -----------------------------------------------------
>
>                 Key: GEODE-1660
>                 URL: https://issues.apache.org/jira/browse/GEODE-1660
>             Project: Geode
>          Issue Type: Improvement
>          Components: general
>            Reporter: Kirk Lund
>            Assignee: Grace Meilen
>
> :geode-core:compileTestJava
> /Users/klund/dev/gemfire/open/geode-core/src/test/java/com/gemstone/gemfire/internal/logging/log4j/LogWriterAppenderJUnitTest.java:188:
warning: non-varargs call of varargs method with inexact argument type for last parameter;
>     LogEvent event = Log4jLogEvent.newBuilder().setLevel(Level.INFO).setLoggerFqcn("NAME").setLoggerName("NAME").setMessage(new
ParameterizedMessage("LOGEVENT MESSAGE", null)).build();
>                                                                                     
                                                                                    ^
>   cast to Object for a varargs call
>   cast to Object[] for a non-varargs call and to suppress this warning
> /Users/klund/dev/gemfire/open/geode-core/src/test/java/com/gemstone/gemfire/security/templates/LdapUserAuthenticator.java:89:
warning: LdapCtxFactory is internal proprietary API and may be removed in a future release
>     env.put(Context.INITIAL_CONTEXT_FACTORY, com.sun.jndi.ldap.LdapCtxFactory.class.getName());
>                                                               ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for detail



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message