geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grace Meilen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GEODE-1660) geode-core:compileTestJava generates compile warnings
Date Fri, 12 Aug 2016 21:59:22 GMT

     [ https://issues.apache.org/jira/browse/GEODE-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grace Meilen resolved GEODE-1660.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0-incubating

> 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
>             Fix For: 1.0.0-incubating
>
>
> :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