james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1455042 - in /james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol: FileProtocolSessionBuilder.java ProtocolSession.java
Date Mon, 11 Mar 2013 08:07:13 GMT
Author: eric
Date: Mon Mar 11 08:07:12 2013
New Revision: 1455042

URL: http://svn.apache.org/r1455042
Log:
FileProtocolSessionBuilder should extend ProtocolSessionBuilder (MPT-4)

Modified:
    james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/FileProtocolSessionBuilder.java
    james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/ProtocolSession.java

Modified: james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/FileProtocolSessionBuilder.java
URL: http://svn.apache.org/viewvc/james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/FileProtocolSessionBuilder.java?rev=1455042&r1=1455041&r2=1455042&view=diff
==============================================================================
--- james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/FileProtocolSessionBuilder.java
(original)
+++ james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/FileProtocolSessionBuilder.java
Mon Mar 11 08:07:12 2013
@@ -34,22 +34,8 @@ import org.apache.commons.io.IOUtils;
  * 
  * @version $Revision$
  */
-public class FileProtocolSessionBuilder {
+public class FileProtocolSessionBuilder extends ProtocolSessionBuilder {
     
-    private static final String SERVER_CONTINUATION_TAG = "S: \\+";
-
-    private static final String CLIENT_TAG = "C:";
-
-    private static final String SERVER_TAG = "S:";
-
-    private static final String OPEN_UNORDERED_BLOCK_TAG = "SUB {";
-
-    private static final String CLOSE_UNORDERED_BLOCK_TAG = "}";
-
-    private static final String COMMENT_TAG = "#";
-
-    private static final String SESSION_TAG = "SESSION:";
-
     /**
      * Builds a ProtocolSession by reading lines from the test file with the
      * supplied name.

Modified: james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/ProtocolSession.java
URL: http://svn.apache.org/viewvc/james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/ProtocolSession.java?rev=1455042&r1=1455041&r2=1455042&view=diff
==============================================================================
--- james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/ProtocolSession.java
(original)
+++ james/mpt/trunk/core/src/main/java/org/apache/james/mpt/protocol/ProtocolSession.java
Mon Mar 11 08:07:12 2013
@@ -37,6 +37,7 @@ import org.apache.james.mpt.api.Session;
  * @author Darrell DeBoer <darrell@apache.org>
  */
 public class ProtocolSession implements ProtocolInteractor {
+
     private boolean continued = false;
 
     private boolean continuationExpected = false;



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