logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1599424 - /logging/log4j/log4j2/trunk/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
Date Tue, 03 Jun 2014 06:34:50 GMT
Author: ggregory
Date: Tue Jun  3 06:34:49 2014
New Revision: 1599424

URL: http://svn.apache.org/r1599424
Log:
Fix lvar name.

Modified:
    logging/log4j/log4j2/trunk/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java

Modified: logging/log4j/log4j2/trunk/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java?rev=1599424&r1=1599423&r2=1599424&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-jcl/src/test/java/org/apache/logging/log4j/jcl/LoggerTest.java
Tue Jun  3 06:34:49 2014
@@ -72,8 +72,8 @@ public class LoggerTest {
 
     private void verify(final String name, final String expected) {
         final LoggerContext ctx = (LoggerContext) LogManager.getContext(false);
-        final Map<String, Appender> list = ctx.getConfiguration().getAppenders();
-        final Appender listApp = list.get(name);
+        final Map<String, Appender> map = ctx.getConfiguration().getAppenders();
+        final Appender listApp = map.get(name);
         assertNotNull("Missing Appender", listApp);
         assertTrue("Not a ListAppender", listApp instanceof ListAppender);
         final List<String> events = ((ListAppender) listApp).getMessages();



Mime
View raw message