[kaffe] CVS kaffe (doogie): close() now calls flush(), in case extending classes do buffering(like

Kaffe CVS cvs-commits at kaffe.org
Fri Dec 10 14:20:49 PST 2004


PatchSet 5599 
Date: 2004/12/10 21:56:00
Author: doogie
Branch: HEAD
Tag: (none) 
Log:
close() now calls flush(), in case extending classes do buffering(like
KaffeEncoder now does).

Members: 
	libraries/javalib/gnu/java/io/encode/Encoder.java:1.4->1.5 
	ChangeLog:1.3144->1.3145 

Index: kaffe/libraries/javalib/gnu/java/io/encode/Encoder.java
diff -u kaffe/libraries/javalib/gnu/java/io/encode/Encoder.java:1.4 kaffe/libraries/javalib/gnu/java/io/encode/Encoder.java:1.5
--- kaffe/libraries/javalib/gnu/java/io/encode/Encoder.java:1.4	Mon Dec  6 21:20:40 2004
+++ kaffe/libraries/javalib/gnu/java/io/encode/Encoder.java	Fri Dec 10 21:56:00 2004
@@ -260,6 +260,7 @@
 public void
 close() throws IOException
 {
+  flush();
   out.close();
 }
 
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3144 kaffe/ChangeLog:1.3145
--- kaffe/ChangeLog:1.3144	Fri Dec 10 21:34:54 2004
+++ kaffe/ChangeLog	Fri Dec 10 21:56:02 2004
@@ -1,5 +1,11 @@
 2004-12-10  Adam Heath  <doogie at brainfood.com>
 
+	* libraries/javalib/gnu/java/io/encode/Encoder.java:
+	  close() now calls flush(), in case extending classes do buffering(like
+	  KaffeEncoder now does).
+
+2004-12-10  Adam Heath  <doogie at brainfood.com>
+
 	* libraries/javalib/org/tritonus/sampled/mixer/alsa/AlsaBaseDataLine.java,
 	  libraries/javalib/org/tritonus/sampled/mixer/alsa/AlsaSourceDataLine.java,
 	  libraries/javalib/org/tritonus/sampled/mixer/alsa/AlsaTargetDataLine.java,




More information about the kaffe mailing list