logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1566192 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
Date Sun, 09 Feb 2014 03:14:59 GMT
Author: ggregory
Date: Sun Feb  9 03:14:59 2014
New Revision: 1566192

URL: http://svn.apache.org/r1566192
Log:
Predefined Levels should be final.

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

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java?rev=1566192&r1=1566191&r2=1566192&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
Sun Feb  9 03:14:59 2014
@@ -50,42 +50,42 @@ public final class Level implements Comp
     /**
      * No events will be logged.
      */
-    public static Level OFF;
+    public static final Level OFF;
     
     /**
      * A severe error that will prevent the application from continuing.
      */
-    public static Level FATAL;
+    public static final Level FATAL;
     
     /**
      * An error in the application, possibly recoverable.
      */
-    public static Level ERROR;
+    public static final Level ERROR;
     
     /**
      * An event that might possible lead to an error.
      */
-    public static Level WARN;
+    public static final Level WARN;
     
     /**
      * An event for informational purposes.
      */
-    public static Level INFO;
+    public static final Level INFO;
     
     /**
      * A general debugging event.
      */
-    public static Level DEBUG;
+    public static final Level DEBUG;
     
     /**
      * A fine-grained debug message, typically capturing the flow through the application.
      */
-    public static Level TRACE;
+    public static final Level TRACE;
     
     /**
      * All events should be logged.
      */
-    public static Level ALL;
+    public static final Level ALL;
 
     static {
         OFF = new Level("OFF", StandardLevel.OFF.intLevel());



Mime
View raw message