logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpo...@apache.org
Subject svn commit: r1517727 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
Date Mon, 26 Aug 2013 23:27:41 GMT
Author: rpopma
Date: Mon Aug 26 23:27:41 2013
New Revision: 1517727

URL: http://svn.apache.org/r1517727
Log:
fixed compiler warning about unused enum values in switch

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

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java?rev=1517727&r1=1517726&r2=1517727&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java
Mon Aug 26 23:27:41 2013
@@ -261,8 +261,9 @@ public final class StatusLogger extends 
                 return logger.isWarnEnabled(marker);
             case ERROR:
                 return logger.isErrorEnabled(marker);
+            default:
+                return false;
         }
-        return false;
     }
 
     /**



Mime
View raw message