james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1178558 - /james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/AbstractDelegatingMailboxListener.java
Date Mon, 03 Oct 2011 20:30:22 GMT
Author: norman
Date: Mon Oct  3 20:30:22 2011
New Revision: 1178558

URL: http://svn.apache.org/viewvc?rev=1178558&view=rev
Log:
We don't need close and isClosed method anymore

Modified:
    james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/AbstractDelegatingMailboxListener.java

Modified: james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/AbstractDelegatingMailboxListener.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/AbstractDelegatingMailboxListener.java?rev=1178558&r1=1178557&r2=1178558&view=diff
==============================================================================
--- james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/AbstractDelegatingMailboxListener.java
(original)
+++ james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/AbstractDelegatingMailboxListener.java
Mon Oct  3 20:30:22 2011
@@ -29,11 +29,8 @@ import org.apache.james.mailbox.MailboxP
 import org.apache.james.mailbox.MailboxSession;
 
 public abstract class AbstractDelegatingMailboxListener implements MailboxListener, MailboxListenerSupport{
-
-    private boolean isClosed;
     
     protected AbstractDelegatingMailboxListener() {
-    	isClosed = false;
     }
     
     /**
@@ -92,21 +89,7 @@ public abstract class AbstractDelegating
         }
         
     }
-
-    /**
-     * Close the listener
-     */
-    public synchronized void close() {
-        isClosed = true;
-    }
     
-    /**
-     * Check if closed
-     */
-    public synchronized boolean isClosed() {
-        return isClosed;
-    }
-
     /*
      * (non-Javadoc)
      * @see org.apache.james.mailbox.MailboxListenerSupport#addListener(org.apache.james.mailbox.MailboxPath,
org.apache.james.mailbox.MailboxListener, org.apache.james.mailbox.MailboxSession)



---------------------------------------------------------------------
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