commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1363011 - /commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
Date Wed, 18 Jul 2012 16:37:56 GMT
Author: sebb
Date: Wed Jul 18 16:37:56 2012
New Revision: 1363011

URL: http://svn.apache.org/viewvc?rev=1363011&view=rev
Log:
Remove obsolete comment; this class is only intended for use with log4j 1.2.x

Modified:
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java?rev=1363011&r1=1363010&r2=1363011&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
(original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
Wed Jul 18 16:37:56 2012
@@ -122,24 +122,6 @@ public class Log4JLogger implements Log,
     }
 
 
-    // --------------------------------------------------------- 
-    // Implementation
-    //
-    // Note that in the methods below the Priority class is used to define
-    // levels even though the Level class is supported in 1.2. This is done
-    // so that at compile time the call definitely resolves to a call to
-    // a method that takes a Priority rather than one that takes a Level.
-    // 
-    // The Category class (and hence its subclass Logger) in version 1.2 only
-    // has methods that take Priority objects. The Category class (and hence
-    // Logger class) in version 1.3 has methods that take both Priority and
-    // Level objects. This means that if we use Level here, and compile
-    // against log4j 1.3 then calls would be bound to the versions of
-    // methods taking Level objects and then would fail to run against
-    // version 1.2 of log4j.
-    // --------------------------------------------------------- 
-
-
     /**
      * Logs a message with <code>org.apache.log4j.Priority.TRACE</code>.
      * When using a log4j version that does not support the <code>TRACE</code>



Mime
View raw message