Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
: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
Attachments
Issue Links
- links to