You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/07/23 01:30:32 UTC

[5/6] logging-log4j2 git commit: Fix compiler warning.

Fix compiler warning.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/6b1048af
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/6b1048af
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/6b1048af

Branch: refs/heads/StyledXException
Commit: 6b1048afc1b52f62356ef0abc0f7d2035a6c9d49
Parents: a141cc0
Author: Gary Gregory <gg...@apache.org>
Authored: Thu Jul 21 17:15:55 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Thu Jul 21 17:15:55 2016 -0700

----------------------------------------------------------------------
 log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6b1048af/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java b/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
index c66490d..f252cc9 100644
--- a/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
+++ b/log4j-api/src/test/java/org/apache/logging/log4j/LoggerTest.java
@@ -252,7 +252,7 @@ public class LoggerTest {
         assertEquals(String.format(" DEBUG %,d", Integer.MAX_VALUE), testLogger.getEntries().get(0));
     }
 
-    private static void assertMessageFactoryInstanceOf(MessageFactory factory, final Class cls) {
+    private static void assertMessageFactoryInstanceOf(MessageFactory factory, final Class<?> cls) {
         if (factory instanceof MessageFactory2Adapter) {
             factory = ((MessageFactory2Adapter) factory).getOriginal();
         }