commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r384412 - /jakarta/commons/proper/logging/contrib/simon/jcl2/log4j/java/org/apache/commons/logging/log4j/Log4JLogHandler.java
Date Thu, 09 Mar 2006 03:05:38 GMT
Author: skitching
Date: Wed Mar  8 19:05:37 2006
New Revision: 384412

URL: http://svn.apache.org/viewcvs?rev=384412&view=rev
Log:
Update method names due to core changes; no functional change

Modified:
    jakarta/commons/proper/logging/contrib/simon/jcl2/log4j/java/org/apache/commons/logging/log4j/Log4JLogHandler.java

Modified: jakarta/commons/proper/logging/contrib/simon/jcl2/log4j/java/org/apache/commons/logging/log4j/Log4JLogHandler.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/contrib/simon/jcl2/log4j/java/org/apache/commons/logging/log4j/Log4JLogHandler.java?rev=384412&r1=384411&r2=384412&view=diff
==============================================================================
--- jakarta/commons/proper/logging/contrib/simon/jcl2/log4j/java/org/apache/commons/logging/log4j/Log4JLogHandler.java
(original)
+++ jakarta/commons/proper/logging/contrib/simon/jcl2/log4j/java/org/apache/commons/logging/log4j/Log4JLogHandler.java
Wed Mar  8 19:05:37 2006
@@ -34,11 +34,11 @@
      */
     private HashMap logs = new HashMap();
     
-    public Log getLog(Class clazz) {
-        return getLog(clazz.getName());
+    public Log getLogFor(Class clazz) {
+        return getLogFor(clazz.getName());
     }
 
-    public synchronized Log getLog(String category) {
+    public synchronized Log getLogFor(String category) {
         Log log = (Log) logs.get(category);
         if (log == null) {
             log = new Log4JLog(category);
@@ -47,7 +47,7 @@
         return log;
     }
 
-    public synchronized void release() {
+    public synchronized void releaseResources() {
         logs.clear();
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message