james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r982522 - in /james/imap/trunk: api/src/main/java/org/apache/james/imap/api/AbstractLogEnabled.java store/src/main/java/org/apache/james/imap/store/DelegatingMailboxManager.java
Date Thu, 05 Aug 2010 09:46:12 GMT
Author: norman
Date: Thu Aug  5 09:46:11 2010
New Revision: 982522

URL: http://svn.apache.org/viewvc?rev=982522&view=rev
Log:
Remove AbstractLogEnabled which is not needed

Removed:
    james/imap/trunk/api/src/main/java/org/apache/james/imap/api/AbstractLogEnabled.java
Modified:
    james/imap/trunk/store/src/main/java/org/apache/james/imap/store/DelegatingMailboxManager.java

Modified: james/imap/trunk/store/src/main/java/org/apache/james/imap/store/DelegatingMailboxManager.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/store/src/main/java/org/apache/james/imap/store/DelegatingMailboxManager.java?rev=982522&r1=982521&r2=982522&view=diff
==============================================================================
--- james/imap/trunk/store/src/main/java/org/apache/james/imap/store/DelegatingMailboxManager.java
(original)
+++ james/imap/trunk/store/src/main/java/org/apache/james/imap/store/DelegatingMailboxManager.java
Thu Aug  5 09:46:11 2010
@@ -25,7 +25,7 @@ import java.util.Locale;
 import java.util.Random;
 
 import org.apache.commons.logging.Log;
-import org.apache.james.imap.api.AbstractLogEnabled;
+import org.apache.commons.logging.LogFactory;
 import org.apache.james.imap.mailbox.BadCredentialsException;
 import org.apache.james.imap.mailbox.MailboxConstants;
 import org.apache.james.imap.mailbox.MailboxException;
@@ -37,7 +37,7 @@ import org.apache.james.imap.mailbox.Sub
  * Abstract {@link MailboxManager} which delegates various stuff to the {@link Authenticator}
and {@link Subscriber}
  *
  */
-public abstract class DelegatingMailboxManager extends AbstractLogEnabled implements MailboxManager
{
+public abstract class DelegatingMailboxManager implements MailboxManager {
 
     private final Authenticator authenticator;
     private final Subscriber subscriper;
@@ -48,6 +48,16 @@ public abstract class DelegatingMailboxM
         this.authenticator = authenticator;
     }
 
+    private Log log = LogFactory.getLog("org.apache.james.imap");
+
+    protected Log getLog() {
+        return log;
+    }
+
+    public void setLog(Log log) {
+        this.log = log;
+    }
+
     /**
      * Generate an return the next uid validity 
      * 



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


Mime
View raw message