logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1405613 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/AppenderRef.java
Date Sun, 04 Nov 2012 19:05:44 GMT
Author: ggregory
Date: Sun Nov  4 19:05:44 2012
New Revision: 1405613

URL: http://svn.apache.org/viewvc?rev=1405613&view=rev
Log:
Better lvar names.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/AppenderRef.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/AppenderRef.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/AppenderRef.java?rev=1405613&r1=1405612&r2=1405613&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/AppenderRef.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/AppenderRef.java
Sun Nov  4 19:05:44 2012
@@ -72,15 +72,15 @@ public final class AppenderRef {
             LOGGER.error("Appender references must contain a reference");
             return null;
         }
-        Level l = null;
+        Level level = null;
 
         if (levelName != null) {
-            l = Level.toLevel(levelName, null);
-            if (l == null) {
+            level = Level.toLevel(levelName, null);
+            if (level == null) {
                 LOGGER.error("Invalid level " + levelName + " on Appender reference " + ref);
             }
         }
 
-        return new AppenderRef(ref, l, filter);
+        return new AppenderRef(ref, level, filter);
     }
 }



Mime
View raw message