hbedi 2002/10/25 17:15:34
Modified: tests/src/java/org/apache/james/testing
ProtocolSimulator.java
Log:
changed to use InternetPrintWriter
Revision Changes Path
1.6 +2 -2
jakarta-james/tests/src/java/org/apache/james/testing/ProtocolSimulator.java
Index: ProtocolSimulator.java
===================================================================
RCS file:
/home/cvs/jakarta-james/tests/src/java/org/apache/james/testing/ProtocolSimulator.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ProtocolSimulator.java 20 Oct 2002 14:08:11 -0000 1.5
+++ ProtocolSimulator.java 26 Oct 2002 00:15:34 -0000 1.6
@@ -22,7 +22,7 @@
import java.util.ArrayList;
import java.util.List;
import org.apache.oro.text.perl.Perl5Util;
-import org.apache.james.util.CRLFPrintWriter;
+import org.apache.james.util.InternetPrintWriter;
/**
* <pre>
@@ -131,7 +131,7 @@
InputStream inp = sock.getInputStream();
OutputStream out = sock.getOutputStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(inp));
- PrintWriter writer = new CRLFPrintWriter(new
BufferedOutputStream(out),true);
+ PrintWriter writer = new InternetPrintWriter(new
BufferedOutputStream(out),true);
simulation.execute(reader,writer);
} finally {
if ( sock != null )
--
To unsubscribe, e-mail: <mailto:james-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@;jakarta.apache.org>