logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1432041 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
Date Fri, 11 Jan 2013 13:30:10 GMT
Author: ggregory
Date: Fri Jan 11 13:30:10 2013
New Revision: 1432041

URL: http://svn.apache.org/viewvc?rev=1432041&view=rev
Log:
Rename var 'f' to 'mapFormat'.

Modified:
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java?rev=1432041&r1=1432040&r2=1432041&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
Fri Jan 11 13:30:10 2013
@@ -219,9 +219,9 @@ public class MapMessage implements Multi
             return asString();
         } else {
             for (final String format : formats) {
-                for (final MapFormat f : MapFormat.values()) {
-                    if (f.name().equalsIgnoreCase(format)) {
-                        return asString(f);
+                for (final MapFormat mapFormat : MapFormat.values()) {
+                    if (mapFormat.name().equalsIgnoreCase(format)) {
+                        return asString(mapFormat);
                     }
                 }
             }



Mime
View raw message