logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1580747 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/MarkerManager.java
Date Mon, 24 Mar 2014 05:07:18 GMT
Author: ggregory
Date: Mon Mar 24 05:07:18 2014
New Revision: 1580747

URL: http://svn.apache.org/r1580747
Log:
Better param name and do not hide an ivar name.

Modified:
    logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/MarkerManager.java

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/MarkerManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/MarkerManager.java?rev=1580747&r1=1580746&r2=1580747&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/MarkerManager.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/MarkerManager.java
Mon Mar 24 05:07:18 2014
@@ -113,13 +113,13 @@ public final class MarkerManager {
         }
 
         @Override
-        public boolean isInstanceOf(final String name) {
-            if (name == null) {
+        public boolean isInstanceOf(final String markerName) {
+            if (markerName == null) {
                 throw new IllegalArgumentException("A marker name is required");
             }
             Marker toTest = this;
             do {
-                if (name.equals(toTest.getName())) {
+                if (markerName.equals(toTest.getName())) {
                     return true;
                 }
                 toTest = toTest.getParent();



Mime
View raw message