james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r760835 - in /james/imap/trunk: decode/src/main/java/org/apache/james/imap/decode/parser/ seda/src/main/java/org/apache/james/imap/main/
Date Wed, 01 Apr 2009 10:01:18 GMT
Author: rdonkin
Date: Wed Apr  1 10:01:15 2009
New Revision: 760835

URL: http://svn.apache.org/viewvc?rev=760835&view=rev
Log:
Now not only Imap4Rev1. IMAP Namespaces IMAP-76  https://issues.apache.org/jira/browse/IMAP-76

Added:
    james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/ImapParserFactory.java
      - copied, changed from r760824, james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/Imap4Rev1CommandParserFactory.java
Removed:
    james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/Imap4Rev1CommandParserFactory.java
Modified:
    james/imap/trunk/seda/src/main/java/org/apache/james/imap/main/DefaultImapDecoderFactory.java

Copied: james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/ImapParserFactory.java
(from r760824, james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/Imap4Rev1CommandParserFactory.java)
URL: http://svn.apache.org/viewvc/james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/ImapParserFactory.java?p2=james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/ImapParserFactory.java&p1=james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/Imap4Rev1CommandParserFactory.java&r1=760824&r2=760835&rev=760835&view=diff
==============================================================================
--- james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/Imap4Rev1CommandParserFactory.java
(original)
+++ james/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/parser/ImapParserFactory.java
Wed Apr  1 10:01:15 2009
@@ -36,7 +36,7 @@
  * 
  * @version $Revision: 109034 $
  */
-public class Imap4Rev1CommandParserFactory implements
+public class ImapParserFactory implements
         ImapCommandParserFactory {
     private Map<String, Class> _imapCommands;
 
@@ -45,7 +45,7 @@
     private final StatusResponseFactory statusResponseFactory;
 
 
-    public Imap4Rev1CommandParserFactory(
+    public ImapParserFactory(
             final ImapMessageFactory messageFactory,
             final StatusResponseFactory statusResponseFactory) {
         this.messageFactory = messageFactory;

Modified: james/imap/trunk/seda/src/main/java/org/apache/james/imap/main/DefaultImapDecoderFactory.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/seda/src/main/java/org/apache/james/imap/main/DefaultImapDecoderFactory.java?rev=760835&r1=760834&r2=760835&view=diff
==============================================================================
--- james/imap/trunk/seda/src/main/java/org/apache/james/imap/main/DefaultImapDecoderFactory.java
(original)
+++ james/imap/trunk/seda/src/main/java/org/apache/james/imap/main/DefaultImapDecoderFactory.java
Wed Apr  1 10:01:15 2009
@@ -24,7 +24,7 @@
 import org.apache.james.imap.decode.ImapDecoder;
 import org.apache.james.imap.decode.ImapDecoderFactory;
 import org.apache.james.imap.decode.main.DefaultImapDecoder;
-import org.apache.james.imap.decode.parser.Imap4Rev1CommandParserFactory;
+import org.apache.james.imap.decode.parser.ImapParserFactory;
 import org.apache.james.imap.message.request.BaseImap4Rev1MessageFactory;
 import org.apache.james.imap.message.response.UnpooledStatusResponseFactory;
 
@@ -38,7 +38,7 @@
         final UnpooledStatusResponseFactory unpooledStatusResponseFactory = new UnpooledStatusResponseFactory();
         final ImapMessageFactory messageFactory = new BaseImap4Rev1MessageFactory(
                 unpooledStatusResponseFactory);
-        final ImapCommandParserFactory imapCommands = new Imap4Rev1CommandParserFactory(
+        final ImapCommandParserFactory imapCommands = new ImapParserFactory(
                 messageFactory, unpooledStatusResponseFactory);
         final ImapDecoder result = new DefaultImapDecoder(messageFactory,
                 imapCommands);



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