You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by fe...@apache.org on 2011/04/12 07:10:19 UTC

svn commit: r1091296 [2/2] - in /james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox: ./ util/

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SearchQuery.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SearchQuery.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SearchQuery.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SearchQuery.java Tue Apr 12 05:10:18 2011
@@ -91,8 +91,7 @@ public class SearchQuery {
      * @return <code>Criterion</code>, not null
      */
     public static final Criterion internalDateAfter(int day, int month, int year) {
-        return new InternalDateCriterion(new DateOperator(DateComparator.AFTER,
-                day, month, year));
+        return new InternalDateCriterion(new DateOperator(DateComparator.AFTER, day, month, year));
     }
 
     /**
@@ -107,8 +106,7 @@ public class SearchQuery {
      * @return <code>Criterion</code>, not null
      */
     public static final Criterion internalDateOn(int day, int month, int year) {
-        return new InternalDateCriterion(new DateOperator(DateComparator.ON, day,
-                month, year));
+        return new InternalDateCriterion(new DateOperator(DateComparator.ON, day, month, year));
     }
 
     /**
@@ -123,10 +121,8 @@ public class SearchQuery {
      *            year
      * @return <code>Criterion</code>, not null
      */
-    public static final Criterion internalDateBefore(int day, int month,
-            int year) {
-        return new InternalDateCriterion(new DateOperator(DateComparator.BEFORE,
-                day, month, year));
+    public static final Criterion internalDateBefore(int day, int month, int year) {
+        return new InternalDateCriterion(new DateOperator(DateComparator.BEFORE, day, month, year));
     }
 
     /**
@@ -144,10 +140,8 @@ public class SearchQuery {
      *            year
      * @return <code>Criterion</code>, not null
      */
-    public static final Criterion headerDateAfter(String headerName, int day,
-            int month, int year) {
-        return new HeaderCriterion(headerName, new DateOperator(
-                DateComparator.AFTER, day, month, year));
+    public static final Criterion headerDateAfter(String headerName, int day, int month, int year) {
+        return new HeaderCriterion(headerName, new DateOperator(DateComparator.AFTER, day, month, year));
     }
 
     /**
@@ -165,10 +159,8 @@ public class SearchQuery {
      *            year
      * @return <code>Criterion</code>, not null
      */
-    public static final Criterion headerDateOn(String headerName, int day,
-            int month, int year) {
-        return new HeaderCriterion(headerName, new DateOperator(
-                DateComparator.ON, day, month, year));
+    public static final Criterion headerDateOn(String headerName, int day, int month, int year) {
+        return new HeaderCriterion(headerName, new DateOperator(DateComparator.ON, day, month, year));
     }
 
     /**
@@ -186,10 +178,8 @@ public class SearchQuery {
      *            year
      * @return <code>Criterion</code>, not null
      */
-    public static final Criterion headerDateBefore(String headerName, int day,
-            int month, int year) {
-        return new HeaderCriterion(headerName, new DateOperator(
-                DateComparator.BEFORE, day, month, year));
+    public static final Criterion headerDateBefore(String headerName, int day, int month, int year) {
+        return new HeaderCriterion(headerName, new DateOperator(DateComparator.BEFORE, day, month, year));
     }
 
     /**
@@ -434,10 +424,12 @@ public class SearchQuery {
     public Set<Long> getRecentMessageUids() {
         return recentMessageUids;
     }
-    
+
     /**
      * Adds all the uids to the collection of recents.
-     * @param uids not null
+     * 
+     * @param uids
+     *            not null
      */
     public void addRecentMessageUids(final Collection<Long> uids) {
         recentMessageUids.addAll(uids);
@@ -455,8 +447,7 @@ public class SearchQuery {
     public int hashCode() {
         final int PRIME = 31;
         int result = 1;
-        result = PRIME * result
-                + ((criterias == null) ? 0 : criterias.hashCode());
+        result = PRIME * result + ((criterias == null) ? 0 : criterias.hashCode());
         return result;
     }
 
@@ -556,14 +547,13 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
         public String toString() {
-            return new StringBuffer().append(this.lowValue).append("->")
-                    .append(this.highValue).toString();
+            return new StringBuffer().append(this.lowValue).append("->").append(this.highValue).toString();
         }
 
     }
@@ -577,10 +567,10 @@ public class SearchQuery {
     public enum Conjunction {
         AND, OR, NOR
     }
-    
+
     /**
-     * Conjuction applying to the contained criteria. {@link #getType} indicates
-     * how the conjoined criteria should be related.
+     * Conjunction applying to the contained criteria. {@link #getType}
+     * indicates how the conjoined criteria should be related.
      */
     public static final class ConjunctionCriterion extends Criterion {
         private final Conjunction type;
@@ -594,7 +584,7 @@ public class SearchQuery {
         }
 
         /**
-         * Gets the criteria related through this conjuction.
+         * Gets the criteria related through this conjunction.
          * 
          * @return <code>List</code> of {@link Criterion}
          */
@@ -618,8 +608,7 @@ public class SearchQuery {
         public int hashCode() {
             final int PRIME = 31;
             int result = 1;
-            result = PRIME * result
-                    + ((criteria == null) ? 0 : criteria.hashCode());
+            result = PRIME * result + ((criteria == null) ? 0 : criteria.hashCode());
             return result;
         }
 
@@ -646,8 +635,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -656,9 +645,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("ConjunctionCriterion ( ").append("criteria = ")
-                    .append(this.criteria).append(TAB).append("type = ")
-                    .append(this.type).append(TAB).append(" )");
+            retValue.append("ConjunctionCriterion ( ").append("criteria = ").append(this.criteria).append(TAB).append("type = ").append(this.type).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -697,13 +684,13 @@ public class SearchQuery {
     }
 
     public enum Scope {
-        /** Only message body content */        
+        /** Only message body content */
         BODY,
 
         /** Full message content including headers */
         FULL
     }
-    
+
     /**
      * Message text.
      */
@@ -744,8 +731,7 @@ public class SearchQuery {
         public int hashCode() {
             final int PRIME = 31;
             int result = 1;
-            result = PRIME * result
-                    + ((operator == null) ? 0 : operator.hashCode());
+            result = PRIME * result + ((operator == null) ? 0 : operator.hashCode());
             return result;
         }
 
@@ -772,8 +758,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -782,9 +768,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("TextCriterion ( ").append("operator = ").append(
-                    this.operator).append(TAB).append("type = ").append(
-                    this.type).append(TAB).append(" )");
+            retValue.append("TextCriterion ( ").append("operator = ").append(this.operator).append(TAB).append("type = ").append(this.type).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -798,8 +782,7 @@ public class SearchQuery {
 
         private final String headerName;
 
-        private HeaderCriterion(final String headerName,
-                final HeaderOperator operator) {
+        private HeaderCriterion(final String headerName, final HeaderOperator operator) {
             super();
             this.operator = operator;
             this.headerName = headerName;
@@ -830,10 +813,8 @@ public class SearchQuery {
         public int hashCode() {
             final int PRIME = 31;
             int result = 1;
-            result = PRIME * result
-                    + ((headerName == null) ? 0 : headerName.hashCode());
-            result = PRIME * result
-                    + ((operator == null) ? 0 : operator.hashCode());
+            result = PRIME * result + ((headerName == null) ? 0 : headerName.hashCode());
+            result = PRIME * result + ((operator == null) ? 0 : operator.hashCode());
             return result;
         }
 
@@ -863,8 +844,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -873,9 +854,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("HeaderCriterion ( ").append("headerName = ")
-                    .append(this.headerName).append(TAB).append("operator = ")
-                    .append(this.operator).append(TAB).append(" )");
+            retValue.append("HeaderCriterion ( ").append("headerName = ").append(this.headerName).append(TAB).append("operator = ").append(this.operator).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -909,8 +888,7 @@ public class SearchQuery {
         public int hashCode() {
             final int PRIME = 31;
             int result = 1;
-            result = PRIME * result
-                    + ((operator == null) ? 0 : operator.hashCode());
+            result = PRIME * result + ((operator == null) ? 0 : operator.hashCode());
             return result;
         }
 
@@ -935,8 +913,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -945,8 +923,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("InternalDateCriterion ( ").append("operator = ")
-                    .append(this.operator).append(TAB).append(" )");
+            retValue.append("InternalDateCriterion ( ").append("operator = ").append(this.operator).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -979,8 +956,7 @@ public class SearchQuery {
         public int hashCode() {
             final int PRIME = 31;
             int result = 1;
-            result = PRIME * result
-                    + ((operator == null) ? 0 : operator.hashCode());
+            result = PRIME * result + ((operator == null) ? 0 : operator.hashCode());
             return result;
         }
 
@@ -1005,8 +981,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1015,8 +991,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("SizeCriterion ( ").append("operator = ").append(
-                    this.operator).append(TAB).append(" )");
+            retValue.append("SizeCriterion ( ").append("operator = ").append(this.operator).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -1030,8 +1005,7 @@ public class SearchQuery {
 
         private final BooleanOperator operator;
 
-        private CustomFlagCriterion(final String flag,
-                final BooleanOperator operator) {
+        private CustomFlagCriterion(final String flag, final BooleanOperator operator) {
             super();
             this.flag = flag;
             this.operator = operator;
@@ -1063,8 +1037,7 @@ public class SearchQuery {
             final int PRIME = 31;
             int result = 1;
             result = PRIME * result + ((flag == null) ? 0 : flag.hashCode());
-            result = PRIME * result
-                    + ((operator == null) ? 0 : operator.hashCode());
+            result = PRIME * result + ((operator == null) ? 0 : operator.hashCode());
             return result;
         }
 
@@ -1094,8 +1067,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1104,9 +1077,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("CustomFlagCriterion ( ").append("flag = ").append(
-                    this.flag).append(TAB).append("operator = ").append(
-                    this.operator).append(TAB).append(" )");
+            retValue.append("CustomFlagCriterion ( ").append("flag = ").append(this.flag).append(TAB).append("operator = ").append(this.operator).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -1152,8 +1123,7 @@ public class SearchQuery {
             final int PRIME = 31;
             int result = 1;
             result = PRIME * result + ((flag == null) ? 0 : flag.hashCode());
-            result = PRIME * result
-                    + ((operator == null) ? 0 : operator.hashCode());
+            result = PRIME * result + ((operator == null) ? 0 : operator.hashCode());
             return result;
         }
 
@@ -1183,8 +1153,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1193,9 +1163,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("FlagCriterion ( ").append("flag = ").append(
-                    this.flag).append(TAB).append("operator = ").append(
-                    this.operator).append(TAB).append(" )");
+            retValue.append("FlagCriterion ( ").append("flag = ").append(this.flag).append(TAB).append("operator = ").append(this.operator).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -1229,8 +1197,7 @@ public class SearchQuery {
         public int hashCode() {
             final int PRIME = 31;
             int result = 1;
-            result = PRIME * result
-                    + ((operator == null) ? 0 : operator.hashCode());
+            result = PRIME * result + ((operator == null) ? 0 : operator.hashCode());
             return result;
         }
 
@@ -1255,8 +1222,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1265,8 +1232,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("UidCriterion ( ").append("operator = ").append(
-                    this.operator).append(TAB).append(" )");
+            retValue.append("UidCriterion ( ").append("operator = ").append(this.operator).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -1337,8 +1303,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1347,8 +1313,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("ContainsOperator ( ").append("value = ").append(
-                    this.value).append(TAB).append(" )");
+            retValue.append("ContainsOperator ( ").append("value = ").append(this.value).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -1453,8 +1418,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1463,8 +1428,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("BooleanOperator ( ").append("set = ").append(
-                    this.set).append(TAB).append(" )");
+            retValue.append("BooleanOperator ( ").append("set = ").append(this.set).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -1474,9 +1438,9 @@ public class SearchQuery {
     public enum NumericComparator {
         EQUALS, LESS_THAN, GREATER_THAN
     }
-    
+
     /**
-     * Searches numberic values.
+     * Searches numeric values.
      */
     public static final class NumericOperator implements Operator {
         public static final int EQUALS = 1;
@@ -1544,8 +1508,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1554,9 +1518,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("NumericOperator ( ").append("type = ").append(
-                    this.type).append(TAB).append("value = ")
-                    .append(this.value).append(TAB).append(" )");
+            retValue.append("NumericOperator ( ").append("type = ").append(this.type).append(TAB).append("value = ").append(this.value).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -1565,7 +1527,7 @@ public class SearchQuery {
     public enum DateComparator {
         BEFORE, AFTER, ON
     }
-    
+
     /**
      * Operates on a date.
      */
@@ -1584,8 +1546,7 @@ public class SearchQuery {
 
         private final int year;
 
-        public DateOperator(final DateComparator type, final int day, final int month,
-                final int year) {
+        public DateOperator(final DateComparator type, final int day, final int month, final int year) {
             super();
             this.type = type;
             this.day = day;
@@ -1667,8 +1628,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1677,11 +1638,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("DateOperator ( ").append("day = ")
-                    .append(this.day).append(TAB).append("month = ").append(
-                            this.month).append(TAB).append("type = ").append(
-                            this.type).append(TAB).append("year = ").append(
-                            this.year).append(TAB).append(" )");
+            retValue.append("DateOperator ( ").append("day = ").append(this.day).append(TAB).append("month = ").append(this.month).append(TAB).append("type = ").append(this.type).append(TAB).append("year = ").append(this.year).append(TAB).append(" )");
 
             return retValue.toString();
         }
@@ -1735,8 +1692,8 @@ public class SearchQuery {
         }
 
         /**
-         * Constructs a <code>String</code> with all attributes in name =
-         * value format.
+         * Constructs a <code>String</code> with all attributes in name = value
+         * format.
          * 
          * @return a <code>String</code> representation of this object.
          */
@@ -1745,8 +1702,7 @@ public class SearchQuery {
 
             StringBuffer retValue = new StringBuffer();
 
-            retValue.append("InOperator ( ").append("range = ").append(
-                    Arrays.toString(this.range)).append(TAB).append(" )");
+            retValue.append("InOperator ( ").append("range = ").append(Arrays.toString(this.range)).append(TAB).append(" )");
 
             return retValue.toString();
         }

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/StandardMailboxMetaDataComparator.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/StandardMailboxMetaDataComparator.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/StandardMailboxMetaDataComparator.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/StandardMailboxMetaDataComparator.java Tue Apr 12 05:10:18 2011
@@ -23,13 +23,15 @@ import java.util.Comparator;
 /**
  * Orders by name with INBOX first.
  */
-public class StandardMailboxMetaDataComparator implements
-        Comparator<MailboxMetaData> {
+public class StandardMailboxMetaDataComparator implements Comparator<MailboxMetaData> {
 
     /**
      * Static comparison.
-     * @param one possibly null
-     * @param two possibly null
+     * 
+     * @param one
+     *            possibly null
+     * @param two
+     *            possibly null
      * @return {@link Comparator#compare(Object, Object)}
      */
     public static int order(MailboxMetaData one, MailboxMetaData two) {
@@ -49,7 +51,6 @@ public class StandardMailboxMetaDataComp
         }
         return result;
     }
-    
 
     /**
      * @see Comparator#compare(Object, Object)

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SubscriptionException.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SubscriptionException.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SubscriptionException.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SubscriptionException.java Tue Apr 12 05:10:18 2011
@@ -19,7 +19,6 @@
 
 package org.apache.james.mailbox;
 
-
 /**
  * Indicates exception during subscription processing.
  */

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SubscriptionManager.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SubscriptionManager.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SubscriptionManager.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/SubscriptionManager.java Tue Apr 12 05:10:18 2011
@@ -21,36 +21,44 @@ package org.apache.james.mailbox;
 
 import java.util.Collection;
 
-
 /**
  * Subscribes users.
  */
-public interface SubscriptionManager extends RequestAware{
-    
+public interface SubscriptionManager extends RequestAware {
+
     /**
      * Subscribes the user in the session to the given mailbox.
-     * @param session not null
-     * @param mailbox not null
-     * @throws SubscriptionException when subscription fails
+     * 
+     * @param session
+     *            not null
+     * @param mailbox
+     *            not null
+     * @throws SubscriptionException
+     *             when subscription fails
      */
-    public void subscribe(MailboxSession session, String mailbox)
-            throws SubscriptionException;
+    public void subscribe(MailboxSession session, String mailbox) throws SubscriptionException;
 
     /**
      * Finds all subscriptions for the user in the session.
-     * @param user not null
+     * 
+     * @param user
+     *            not null
      * @return not null
-     * @throws SubscriptionException when subscriptions cannot be read
+     * @throws SubscriptionException
+     *             when subscriptions cannot be read
      */
     public Collection<String> subscriptions(MailboxSession session) throws SubscriptionException;
 
     /**
      * Unsubscribes the user in the session from the given mailbox.
-     * @param session not null
-     * @param mailbox not null
-     * @throws SubscriptionException when subscriptions cannot be read
+     * 
+     * @param session
+     *            not null
+     * @param mailbox
+     *            not null
+     * @throws SubscriptionException
+     *             when subscriptions cannot be read
      */
-    public void unsubscribe(MailboxSession session, String mailbox)
-            throws SubscriptionException;
-   
+    public void unsubscribe(MailboxSession session, String mailbox) throws SubscriptionException;
+
 }

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/UnsupportedOperationException.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/UnsupportedOperationException.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/UnsupportedOperationException.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/UnsupportedOperationException.java Tue Apr 12 05:10:18 2011
@@ -20,8 +20,7 @@
 package org.apache.james.mailbox;
 
 /**
- * Indicates that an operation required is not supported
- * by this mailbox.
+ * Indicates that an operation required is not supported by this mailbox.
  */
 public class UnsupportedOperationException extends MailboxException {
 

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/UnsupportedSearchException.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/UnsupportedSearchException.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/UnsupportedSearchException.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/UnsupportedSearchException.java Tue Apr 12 05:10:18 2011
@@ -19,7 +19,6 @@
 
 package org.apache.james.mailbox;
 
-
 /**
  * Indicates that the requested search is not supported by this implementation.
  */

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/FetchGroupImpl.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/FetchGroupImpl.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/FetchGroupImpl.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/FetchGroupImpl.java Tue Apr 12 05:10:18 2011
@@ -31,17 +31,13 @@ import org.apache.james.mailbox.MessageR
  */
 public class FetchGroupImpl implements MessageResult.FetchGroup {
 
-    public static final MessageResult.FetchGroup MINIMAL = new FetchGroupImpl(
-            MessageResult.FetchGroup.MINIMAL);
+    public static final MessageResult.FetchGroup MINIMAL = new FetchGroupImpl(MessageResult.FetchGroup.MINIMAL);
 
-    public static final MessageResult.FetchGroup HEADERS = new FetchGroupImpl(
-            MessageResult.FetchGroup.HEADERS);
+    public static final MessageResult.FetchGroup HEADERS = new FetchGroupImpl(MessageResult.FetchGroup.HEADERS);
 
-    public static final MessageResult.FetchGroup FULL_CONTENT = new FetchGroupImpl(
-            MessageResult.FetchGroup.FULL_CONTENT);
+    public static final MessageResult.FetchGroup FULL_CONTENT = new FetchGroupImpl(MessageResult.FetchGroup.FULL_CONTENT);
 
-    public static final MessageResult.FetchGroup BODY_CONTENT = new FetchGroupImpl(
-            MessageResult.FetchGroup.BODY_CONTENT);
+    public static final MessageResult.FetchGroup BODY_CONTENT = new FetchGroupImpl(MessageResult.FetchGroup.BODY_CONTENT);
 
     private int content = MessageResult.FetchGroup.MINIMAL;
 
@@ -98,8 +94,7 @@ public class FetchGroupImpl implements M
         }
         PartContentDescriptorImpl currentDescriptor = null;
         for (Iterator<PartContentDescriptor> it = partContentDescriptors.iterator(); it.hasNext();) {
-            PartContentDescriptor descriptor = (PartContentDescriptor) it
-                    .next();
+            PartContentDescriptor descriptor = (PartContentDescriptor) it.next();
             if (path.equals(descriptor.path())) {
                 currentDescriptor = (PartContentDescriptorImpl) descriptor;
                 break;

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/MailboxEventDispatcher.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/MailboxEventDispatcher.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/MailboxEventDispatcher.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/MailboxEventDispatcher.java Tue Apr 12 05:10:18 2011
@@ -35,20 +35,18 @@ import org.apache.james.mailbox.MailboxP
 import org.apache.james.mailbox.MailboxSession;
 
 /**
- * Helper class to dispatch {@link Event}'s to registerend MailboxListener 
- * 
- *
+ * Helper class to dispatch {@link Event}'s to registerend MailboxListener
  */
 public class MailboxEventDispatcher implements MailboxListener {
 
     private final Set<MailboxListener> listeners = new CopyOnWriteArraySet<MailboxListener>();
 
     /**
-     * Remove all closed MailboxListener 
+     * Remove all closed MailboxListener
      */
     private void pruneClosed() {
         final Collection<MailboxListener> closedListeners = new ArrayList<MailboxListener>();
-        for (MailboxListener listener:listeners) {
+        for (MailboxListener listener : listeners) {
             if (listener.isClosed()) {
                 closedListeners.add(listener);
             }
@@ -57,7 +55,7 @@ public class MailboxEventDispatcher impl
             listeners.removeAll(closedListeners);
         }
     }
-    
+
     /**
      * Add a MailboxListener to this dispatcher
      * 
@@ -69,7 +67,8 @@ public class MailboxEventDispatcher impl
     }
 
     /**
-     * Should get called when a new message was added to a Mailbox. All registered MailboxListener will get triggered then
+     * Should get called when a new message was added to a Mailbox. All
+     * registered MailboxListener will get triggered then
      * 
      * @param uid
      * @param sessionId
@@ -82,7 +81,8 @@ public class MailboxEventDispatcher impl
     }
 
     /**
-     * Should get called when a message was expunged from a Mailbox. All registered MailboxListener will get triggered then
+     * Should get called when a message was expunged from a Mailbox. All
+     * registered MailboxListener will get triggered then
      * 
      * @param session
      * @param uid
@@ -94,24 +94,26 @@ public class MailboxEventDispatcher impl
     }
 
     /**
-     * Should get called when the message flags were update in a Mailbox. All registered MailboxListener will get triggered then
-     *
+     * Should get called when the message flags were update in a Mailbox. All
+     * registered MailboxListener will get triggered then
+     * 
      * @param session
      * @param uid
      * @param path
      * @param original
      * @param updated
      */
-    public void flagsUpdated(MailboxSession session, final long uid, final MailboxPath path,
-            final Flags original, final Flags updated) {
-        final FlagsUpdatedImpl flags = new FlagsUpdatedImpl(session, path, uid,
-                original, updated);
+    public void flagsUpdated(MailboxSession session, final long uid, final MailboxPath path, final Flags original, final Flags updated) {
+        final FlagsUpdatedImpl flags = new FlagsUpdatedImpl(session, path, uid, original, updated);
         event(flags);
     }
 
     /*
      * (non-Javadoc)
-     * @see org.apache.james.mailbox.MailboxListener#event(org.apache.james.mailbox.MailboxListener.Event)
+     * 
+     * @see
+     * org.apache.james.mailbox.MailboxListener#event(org.apache.james.mailbox
+     * .MailboxListener.Event)
      */
     public void event(Event event) {
         List<MailboxListener> closed = new ArrayList<MailboxListener>();
@@ -128,16 +130,17 @@ public class MailboxEventDispatcher impl
     }
 
     /**
-     * Return the the count of all registered MailboxListener 
+     * Return the the count of all registered MailboxListener
      * 
      * @return count
      */
     public int count() {
         return listeners.size();
     }
-    
+
     /**
-     * Should get called when a Mailbox was renamed. All registered MailboxListener will get triggered then
+     * Should get called when a Mailbox was renamed. All registered
+     * MailboxListener will get triggered then
      * 
      * @param from
      * @param to
@@ -158,7 +161,9 @@ public class MailboxEventDispatcher impl
 
         /*
          * (non-Javadoc)
-         * @see org.apache.james.mailbox.MailboxListener.MessageEvent#getSubjectUid()
+         * 
+         * @see
+         * org.apache.james.mailbox.MailboxListener.MessageEvent#getSubjectUid()
          */
         public long getSubjectUid() {
             return subjectUid;
@@ -179,18 +184,13 @@ public class MailboxEventDispatcher impl
         }
     }
 
-    private final static class FlagsUpdatedImpl extends
-            MailboxListener.FlagsUpdated {
+    private final static class FlagsUpdatedImpl extends MailboxListener.FlagsUpdated {
 
-        private static boolean isChanged(final Flags original,
-                final Flags updated, Flags.Flag flag) {
-            return original != null && updated != null
-                    && (original.contains(flag) ^ updated.contains(flag));
+        private static boolean isChanged(final Flags original, final Flags updated, Flags.Flag flag) {
+            return original != null && updated != null && (original.contains(flag) ^ updated.contains(flag));
         }
 
-        private static final Flags.Flag[] FLAGS = { Flags.Flag.ANSWERED,
-                Flags.Flag.DELETED, Flags.Flag.DRAFT, Flags.Flag.FLAGGED,
-                Flags.Flag.RECENT, Flags.Flag.SEEN };
+        private static final Flags.Flag[] FLAGS = { Flags.Flag.ANSWERED, Flags.Flag.DELETED, Flags.Flag.DRAFT, Flags.Flag.FLAGGED, Flags.Flag.RECENT, Flags.Flag.SEEN };
 
         private static final int NUMBER_OF_SYSTEM_FLAGS = 6;
 
@@ -200,22 +200,12 @@ public class MailboxEventDispatcher impl
 
         private final Flags newFlags;
 
-        public FlagsUpdatedImpl(MailboxSession session, final MailboxPath path, final long subjectUid,
-                final Flags original, final Flags updated) {
-            this(session, path, subjectUid, updated, isChanged(original, updated,
-                    Flags.Flag.ANSWERED), isChanged(original, updated,
-                    Flags.Flag.DELETED), isChanged(original, updated,
-                    Flags.Flag.DRAFT), isChanged(original, updated,
-                    Flags.Flag.FLAGGED), isChanged(original, updated,
-                    Flags.Flag.RECENT), isChanged(original, updated,
-                    Flags.Flag.SEEN));
-        }
-
-        public FlagsUpdatedImpl(MailboxSession session, final MailboxPath path, final long subjectUid,
-                final Flags newFlags, boolean answeredUpdated,
-                boolean deletedUpdated, boolean draftUpdated,
-                boolean flaggedUpdated, boolean recentUpdated,
-                boolean seenUpdated) {
+        public FlagsUpdatedImpl(MailboxSession session, final MailboxPath path, final long subjectUid, final Flags original, final Flags updated) {
+            this(session, path, subjectUid, updated, isChanged(original, updated, Flags.Flag.ANSWERED), isChanged(original, updated, Flags.Flag.DELETED), isChanged(original, updated, Flags.Flag.DRAFT), isChanged(original, updated, Flags.Flag.FLAGGED),
+                    isChanged(original, updated, Flags.Flag.RECENT), isChanged(original, updated, Flags.Flag.SEEN));
+        }
+
+        public FlagsUpdatedImpl(MailboxSession session, final MailboxPath path, final long subjectUid, final Flags newFlags, boolean answeredUpdated, boolean deletedUpdated, boolean draftUpdated, boolean flaggedUpdated, boolean recentUpdated, boolean seenUpdated) {
             super(session, path);
             this.subjectUid = subjectUid;
             this.modifiedFlags = new boolean[NUMBER_OF_SYSTEM_FLAGS];
@@ -230,7 +220,9 @@ public class MailboxEventDispatcher impl
 
         /*
          * (non-Javadoc)
-         * @see org.apache.james.mailbox.MailboxListener.MessageEvent#getSubjectUid()
+         * 
+         * @see
+         * org.apache.james.mailbox.MailboxListener.MessageEvent#getSubjectUid()
          */
         public long getSubjectUid() {
             return subjectUid;
@@ -238,7 +230,9 @@ public class MailboxEventDispatcher impl
 
         /*
          * (non-Javadoc)
-         * @see org.apache.james.mailbox.MailboxListener.FlagsUpdated#flagsIterator()
+         * 
+         * @see
+         * org.apache.james.mailbox.MailboxListener.FlagsUpdated#flagsIterator()
          */
         public Iterator<Flag> flagsIterator() {
             return new FlagsIterator();
@@ -246,7 +240,9 @@ public class MailboxEventDispatcher impl
 
         /*
          * (non-Javadoc)
-         * @see org.apache.james.mailbox.MailboxListener.FlagsUpdated#getNewFlags()
+         * 
+         * @see
+         * org.apache.james.mailbox.MailboxListener.FlagsUpdated#getNewFlags()
          */
         public Flags getNewFlags() {
             return newFlags;
@@ -261,15 +257,15 @@ public class MailboxEventDispatcher impl
             }
 
             private void nextPosition() {
-		if ((position < NUMBER_OF_SYSTEM_FLAGS)
-			&& (!modifiedFlags[position])) {
-		    position++;
-		    nextPosition();
-		}
+                if ((position < NUMBER_OF_SYSTEM_FLAGS) && (!modifiedFlags[position])) {
+                    position++;
+                    nextPosition();
+                }
             }
 
             /*
              * (non-Javadoc)
+             * 
              * @see java.util.Iterator#hasNext()
              */
             public boolean hasNext() {
@@ -278,6 +274,7 @@ public class MailboxEventDispatcher impl
 
             /*
              * (non-Javadoc)
+             * 
              * @see java.util.Iterator#next()
              */
             public Flag next() {
@@ -291,6 +288,7 @@ public class MailboxEventDispatcher impl
 
             /*
              * (non-Javadoc)
+             * 
              * @see java.util.Iterator#remove()
              */
             public void remove() {
@@ -299,31 +297,30 @@ public class MailboxEventDispatcher impl
         }
     }
 
-
     /**
-     * Should get called when a Mailbox was deleted. All registered MailboxListener will get triggered then
-     *
+     * Should get called when a Mailbox was deleted. All registered
+     * MailboxListener will get triggered then
+     * 
      * @param session
      * @param path
      */
     public void mailboxDeleted(MailboxSession session, MailboxPath path) {
-        final MailboxDeletion event = new MailboxDeletion(
-                session, path);
+        final MailboxDeletion event = new MailboxDeletion(session, path);
         event(event);
     }
 
     /**
-     * Should get called when a Mailbox was added. All registered MailboxListener will get triggered then
-     *
+     * Should get called when a Mailbox was added. All registered
+     * MailboxListener will get triggered then
+     * 
      * @param session
      * @param path
      */
     public void mailboxAdded(MailboxSession session, MailboxPath path) {
-        final MailboxAdded event = new MailboxAdded(
-                session, path);
+        final MailboxAdded event = new MailboxAdded(session, path);
         event(event);
     }
-    
+
     private static final class MailboxRenamedEventImpl extends MailboxListener.MailboxRenamed {
         private final MailboxPath newPath;
 
@@ -332,10 +329,11 @@ public class MailboxEventDispatcher impl
             this.newPath = newPath;
         }
 
-
         /*
          * (non-Javadoc)
-         * @see org.apache.james.mailbox.MailboxListener.MailboxRenamed#getNewPath()
+         * 
+         * @see
+         * org.apache.james.mailbox.MailboxListener.MailboxRenamed#getNewPath()
          */
         public MailboxPath getNewPath() {
             return newPath;
@@ -344,6 +342,7 @@ public class MailboxEventDispatcher impl
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MailboxListener#isClosed()
      */
     public boolean isClosed() {

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/MessageResultImpl.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/MessageResultImpl.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/MessageResultImpl.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/MessageResultImpl.java Tue Apr 12 05:10:18 2011
@@ -70,15 +70,16 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MessageResult#getUid()
      */
     public long getUid() {
         return uid;
     }
 
-
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MessageResult#getInternalDate()
      */
     public Date getInternalDate() {
@@ -87,6 +88,7 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MessageResult#getFlags()
      */
     public Flags getFlags() {
@@ -99,6 +101,7 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MessageResult#getSize()
      */
     public long getSize() {
@@ -111,6 +114,7 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
+     * 
      * @see java.lang.Comparable#compareTo(java.lang.Object)
      */
     public int compareTo(MessageResult that) {
@@ -138,6 +142,7 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MessageResult#headers()
      */
     public Iterator<Header> headers() {
@@ -160,6 +165,7 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MessageResult#getFullContent()
      */
     public final Content getFullContent() {
@@ -175,6 +181,7 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MessageResult#getBody()
      */
     public final Content getBody() {
@@ -196,17 +203,17 @@ public class MessageResultImpl implement
     public String toString() {
         final String TAB = " ";
 
-        String retValue = "MessageResultImpl ( " + "uid = " + this.uid + TAB
-                + "flags = " + this.flags + TAB + "size = " + this.size + TAB
-                + "internalDate = " + this.internalDate + TAB
-                + "includedResults = " + this.includedResults + TAB + " )";
+        String retValue = "MessageResultImpl ( " + "uid = " + this.uid + TAB + "flags = " + this.flags + TAB + "size = " + this.size + TAB + "internalDate = " + this.internalDate + TAB + "includedResults = " + this.includedResults + TAB + " )";
 
         return retValue;
     }
 
     /*
      * (non-Javadoc)
-     * @see org.apache.james.mailbox.MessageResult#getBody(org.apache.james.mailbox.MessageResult.MimePath)
+     * 
+     * @see
+     * org.apache.james.mailbox.MessageResult#getBody(org.apache.james.mailbox
+     * .MessageResult.MimePath)
      */
     public Content getBody(MimePath path) throws MailboxException {
         final Content result;
@@ -221,7 +228,10 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
-     * @see org.apache.james.mailbox.MessageResult#getMimeBody(org.apache.james.mailbox.MessageResult.MimePath)
+     * 
+     * @see
+     * org.apache.james.mailbox.MessageResult#getMimeBody(org.apache.james.mailbox
+     * .MessageResult.MimePath)
      */
     public Content getMimeBody(MimePath path) throws MailboxException {
         final Content result;
@@ -236,7 +246,10 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
-     * @see org.apache.james.mailbox.MessageResult#getFullContent(org.apache.james.mailbox.MessageResult.MimePath)
+     * 
+     * @see
+     * org.apache.james.mailbox.MessageResult#getFullContent(org.apache.james
+     * .mailbox.MessageResult.MimePath)
      */
     public Content getFullContent(MimePath path) throws MailboxException {
         final Content result;
@@ -251,10 +264,12 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
-     * @see org.apache.james.mailbox.MessageResult#iterateHeaders(org.apache.james.mailbox.MessageResult.MimePath)
+     * 
+     * @see
+     * org.apache.james.mailbox.MessageResult#iterateHeaders(org.apache.james
+     * .mailbox.MessageResult.MimePath)
      */
-    public Iterator<Header> iterateHeaders(MimePath path)
-            throws MailboxException {
+    public Iterator<Header> iterateHeaders(MimePath path) throws MailboxException {
         final Iterator<Header> result;
         final PartContent partContent = getPartContent(path);
         if (partContent == null) {
@@ -267,10 +282,12 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
-     * @see org.apache.james.mailbox.MessageResult#iterateMimeHeaders(org.apache.james.mailbox.MessageResult.MimePath)
+     * 
+     * @see
+     * org.apache.james.mailbox.MessageResult#iterateMimeHeaders(org.apache.
+     * james.mailbox.MessageResult.MimePath)
      */
-    public Iterator<Header> iterateMimeHeaders(MimePath path)
-            throws MailboxException {
+    public Iterator<Header> iterateMimeHeaders(MimePath path) throws MailboxException {
         final Iterator<Header> result;
         final PartContent partContent = getPartContent(path);
         if (partContent == null) {
@@ -381,6 +398,7 @@ public class MessageResultImpl implement
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MessageResult#getMimeDescriptor()
      */
     public MimeDescriptor getMimeDescriptor() {

Modified: james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/SimpleMailboxMetaData.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/SimpleMailboxMetaData.java?rev=1091296&r1=1091295&r2=1091296&view=diff
==============================================================================
--- james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/SimpleMailboxMetaData.java (original)
+++ james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/util/SimpleMailboxMetaData.java Tue Apr 12 05:10:18 2011
@@ -41,9 +41,7 @@ public class SimpleMailboxMetaData imple
         this(path, delimiter, Children.CHILDREN_ALLOWED_BUT_UNKNOWN, Selectability.NONE);
     }
 
-    
-    public SimpleMailboxMetaData(final MailboxPath path, final char delimiter,
-            final Children inferiors, final Selectability selectability) {
+    public SimpleMailboxMetaData(final MailboxPath path, final char delimiter, final Children inferiors, final Selectability selectability) {
         super();
         this.path = path;
         this.delimiter = delimiter;
@@ -51,7 +49,7 @@ public class SimpleMailboxMetaData imple
         this.selectability = selectability;
     }
 
-	/**
+    /**
      * Is this mailbox <code>\Noinferiors</code> as per RFC3501.
      * 
      * @return true if marked, false otherwise
@@ -69,6 +67,7 @@ public class SimpleMailboxMetaData imple
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MailboxMetaData#getHierarchyDelimiter()
      */
     public char getHierarchyDelimiter() {
@@ -77,6 +76,7 @@ public class SimpleMailboxMetaData imple
 
     /*
      * (non-Javadoc)
+     * 
      * @see org.apache.james.mailbox.MailboxMetaData#getPath()
      */
     public MailboxPath getPath() {
@@ -85,6 +85,7 @@ public class SimpleMailboxMetaData imple
 
     /*
      * (non-Javadoc)
+     * 
      * @see java.lang.Object#toString()
      */
     public String toString() {
@@ -122,6 +123,7 @@ public class SimpleMailboxMetaData imple
 
     /*
      * (non-Javadoc)
+     * 
      * @see java.lang.Comparable#compareTo(java.lang.Object)
      */
     public int compareTo(MailboxMetaData o) {



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