[tek-cvs] tek/client/protocol/utils lib.java,1.10,1.11
Status: Beta
Brought to you by:
billthies
From: Bill T. <bil...@us...> - 2006-07-24 05:49:50
|
Update of /cvsroot/tek/tek/client/protocol/utils In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14799/client/protocol/utils Modified Files: lib.java Log Message: Don't forget to flush. Index: lib.java =================================================================== RCS file: /cvsroot/tek/tek/client/protocol/utils/lib.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- lib.java 24 Jul 2006 05:11:12 -0000 1.10 +++ lib.java 24 Jul 2006 05:49:48 -0000 1.11 @@ -114,6 +114,7 @@ // write all characters of str to the outputFile out.write(str, 0, i); + out.flush(); out.close(); } else @@ -129,6 +130,7 @@ new BufferedWriter(new OutputStreamWriter(new FileOutputStream(filename), ClientConstants.CHARSET)); out.write(str, 0, i); + out.flush(); out.close(); } else @@ -141,6 +143,7 @@ ClientConstants.CHARSET)); // write all characters of str to the outputFile out.write(str, 0, i); + out.flush(); out.close(); } |