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 no...@apache.org on 2011/02/01 07:13:51 UTC

svn commit: r1065915 - in /james/imap/trunk: api/src/main/java/org/apache/james/imap/api/ImapConstants.java message/src/main/java/org/apache/james/imap/encode/XListResponseEncoder.java

Author: norman
Date: Tue Feb  1 06:13:51 2011
New Revision: 1065915

URL: http://svn.apache.org/viewvc?rev=1065915&view=rev
Log:
Add support for XLIST command. See IMAP-250. Thanks fore the patch

Modified:
    james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java
    james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/XListResponseEncoder.java

Modified: james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java?rev=1065915&r1=1065914&r2=1065915&view=diff
==============================================================================
--- james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java (original)
+++ james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java Tue Feb  1 06:13:51 2011
@@ -96,10 +96,6 @@ public interface ImapConstants {
     public static final String SUPPORTS_IDLE = "IDLE";
     
     public static final String SUPPORTS_XLIST = "XLIST";
-    
-    public static final char NAMESPACE_PREFIX_CHAR = '#';
-
-    public static final String NAMESPACE_PREFIX = String.valueOf(NAMESPACE_PREFIX_CHAR);
 
     public static final String INBOX_NAME = "INBOX";
 

Modified: james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/XListResponseEncoder.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/XListResponseEncoder.java?rev=1065915&r1=1065914&r2=1065915&view=diff
==============================================================================
--- james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/XListResponseEncoder.java (original)
+++ james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/XListResponseEncoder.java Tue Feb  1 06:13:51 2011
@@ -1,3 +1,21 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
 package org.apache.james.imap.encode;
 
 import java.io.IOException;
@@ -12,7 +30,6 @@ import org.apache.james.imap.api.process
 
 /**
  *
- * @author ihsahn
  */
 public class XListResponseEncoder extends AbstractChainedImapEncoder {
 



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