logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1508175 - /logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/LogManagerTest.java
Date Mon, 29 Jul 2013 18:49:26 GMT
Author: ggregory
Date: Mon Jul 29 18:49:26 2013
New Revision: 1508175

URL: http://svn.apache.org/r1508175
Log:
Fix compiler warning (generics).

Modified:
    logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/LogManagerTest.java

Modified: logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/LogManagerTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/LogManagerTest.java?rev=1508175&r1=1508174&r2=1508175&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/LogManagerTest.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/test/java/org/apache/logging/log4j/LogManagerTest.java
Mon Jul 29 18:49:26 2013
@@ -35,10 +35,10 @@ public class LogManagerTest {
         logger = LogManager.getLogger(ParameterizedMessageFactory.INSTANCE);
         assertNotNull("No Logger returned", logger);
         assertTrue("Incorrect Logger name: " + logger.getName(),LogManagerTest.class.getName().equals(logger.getName()));
-        logger = LogManager.getLogger((Class) null);
+        logger = LogManager.getLogger((Class<?>) null);
         assertNotNull("No Logger returned", logger);
         assertTrue("Incorrect Logger name: " + logger.getName(),LogManagerTest.class.getName().equals(logger.getName()));
-        logger = LogManager.getLogger((Class) null, ParameterizedMessageFactory.INSTANCE);
+        logger = LogManager.getLogger((Class<?>) null, ParameterizedMessageFactory.INSTANCE);
         assertNotNull("No Logger returned", logger);
         assertTrue("Incorrect Logger name: " + logger.getName(),LogManagerTest.class.getName().equals(logger.getName()));
         logger = LogManager.getLogger((String) null);



Mime
View raw message