logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
Subject svn commit: r1483236 - /logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/pattern/ExtrasPatternParser.java
Date Thu, 16 May 2013 08:12:08 GMT
Author: grobmeier
Date: Thu May 16 08:12:08 2013
New Revision: 1483236

URL: http://svn.apache.org/r1483236
Log:
removed unnecessary check (its always false)

Modified:
    logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/pattern/ExtrasPatternParser.java

Modified: logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/pattern/ExtrasPatternParser.java
URL: http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/pattern/ExtrasPatternParser.java?rev=1483236&r1=1483235&r2=1483236&view=diff
==============================================================================
--- logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/pattern/ExtrasPatternParser.java
(original)
+++ logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/pattern/ExtrasPatternParser.java
Thu May 16 08:12:08 2013
@@ -564,7 +564,7 @@ public final class ExtrasPatternParser {
     if (pc == null) {
       StringBuffer msg;
 
-      if ((converterId == null) || (converterId.length() == 0)) {
+      if (converterId.length() == 0) {
         msg =
           new StringBuffer("Empty conversion specifier starting at position ");
       } else {



Mime
View raw message