commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1023310 - in /commons/proper/daemon/trunk/src/samples: SimpleApplication.java SimpleDaemon.java
Date Sat, 16 Oct 2010 15:38:46 GMT
Author: sebb
Date: Sat Oct 16 15:38:46 2010
New Revision: 1023310

URL: http://svn.apache.org/viewvc?rev=1023310&view=rev
Log:
If charset fails, should still use the same autoflush setting (default is false)

Modified:
    commons/proper/daemon/trunk/src/samples/SimpleApplication.java
    commons/proper/daemon/trunk/src/samples/SimpleDaemon.java

Modified: commons/proper/daemon/trunk/src/samples/SimpleApplication.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/SimpleApplication.java?rev=1023310&r1=1023309&r2=1023310&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/SimpleApplication.java (original)
+++ commons/proper/daemon/trunk/src/samples/SimpleApplication.java Sat Oct 16 15:38:46 2010
@@ -238,7 +238,7 @@ public class SimpleApplication implement
             try {
                 out=new PrintStream(os, true, "US-ASCII");
             } catch (UnsupportedEncodingException ex) {
-                out=new PrintStream(os);
+                out=new PrintStream(os, true);
             }
 
             while(true) {

Modified: commons/proper/daemon/trunk/src/samples/SimpleDaemon.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/SimpleDaemon.java?rev=1023310&r1=1023309&r2=1023310&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/SimpleDaemon.java (original)
+++ commons/proper/daemon/trunk/src/samples/SimpleDaemon.java Sat Oct 16 15:38:46 2010
@@ -233,7 +233,7 @@ public class SimpleDaemon implements Dae
             try {
                 out=new PrintStream(os, true, "US-ASCII");
             } catch (UnsupportedEncodingException ex) {
-                out=new PrintStream(os);
+                out=new PrintStream(os, true);
             }
 
             while(true) {



Mime
View raw message