logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1490133 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java
Date Thu, 06 Jun 2013 04:47:16 GMT
Author: ggregory
Date: Thu Jun  6 04:47:15 2013
New Revision: 1490133

URL: http://svn.apache.org/r1490133
Log:
Statement unnecessarily nested within else clause.

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

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java?rev=1490133&r1=1490132&r2=1490133&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java
Thu Jun  6 04:47:15 2013
@@ -301,9 +301,8 @@ public class StructuredDataMessage exten
                 }
             }
             return asString(null, null);
-        } else {
-            return asString(Format.FULL, null);
         }
+        return asString(Format.FULL, null);
     }
 
     private String asXML() {



Mime
View raw message