Author: norman
Date: Sun May 16 18:07:55 2010
New Revision: 944892
URL: http://svn.apache.org/viewvc?rev=944892&view=rev
Log:
cleanup
Modified:
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreConstants.java
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreMailboxManager.java
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreSubscriptionManager.java
Modified:
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreConstants.java
URL:
http://svn.apache.org/viewvc/james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreConstants.java?rev=944892&r1=944891&r2=944892&view=diff
==============================================================================
---
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreConstants.java
(original)
+++
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreConstants.java
Sun May 16 18:07:55 2010
@@ -19,11 +19,7 @@
package org.apache.james.imap.store;
public interface StoreConstants {
-
- public final static String MAILBOX_MAPPER = "MAILBOX_MAPPER";
- public final static String MESSAGE_MAPPER = "MESSAGE_MAPPER";
-
public static final String USER_NAMESPACE_PREFIX = "#mail";
}
Modified:
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreMailboxManager.java
URL:
http://svn.apache.org/viewvc/james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreMailboxManager.java?rev=944892&r1=944891&r2=944892&view=diff
==============================================================================
---
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreMailboxManager.java
(original)
+++
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreMailboxManager.java
Sun May 16 18:07:55 2010
@@ -497,16 +497,17 @@ public abstract class StoreMailboxManage
/**
- * End processing of Request for session. This will dispose all objects
which belong to the current
- * Request
+ * End processing of Request for session. Default is to do nothing.
+ * Implementations should override this if they need to do anything special
*/
public void endProcessingRequest(MailboxSession session) {
+ // Default do nothing
}
/**
* Start processing of Request for session. Default is to do nothing.
- * Implementations should override this if they need todo anything special
+ * Implementations should override this if they need to do anything special
*/
public void startProcessingRequest(MailboxSession session) {
// Default do nothing
Modified:
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreSubscriptionManager.java
URL:
http://svn.apache.org/viewvc/james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreSubscriptionManager.java?rev=944892&r1=944891&r2=944892&view=diff
==============================================================================
---
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreSubscriptionManager.java
(original)
+++
james/imap/trunk/store/src/main/java/org/apache/james/imap/store/StoreSubscriptionManager.java
Sun May 16 18:07:55 2010
@@ -67,7 +67,7 @@ public abstract class StoreSubscriptionM
});
} catch (MailboxException e) {
- throw (SubscriptionException) e;
+ throw new SubscriptionException(e.getKey(), e);
}
@@ -114,7 +114,7 @@ public abstract class StoreSubscriptionM
});
} catch (MailboxException e) {
- throw (SubscriptionException) e;
+ throw new SubscriptionException(e.getKey(), e);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]