geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r158933 - in geronimo/trunk/specs/activation/src: java/javax/activation/MimeType.java test/javax/activation/MimeTypeTest.java
Date Thu, 24 Mar 2005 18:20:32 GMT
Author: jboynes
Date: Thu Mar 24 10:20:31 2005
New Revision: 158933

URL: http://svn.apache.org/viewcvs?view=rev&rev=158933
Log:
flush stream as RI does

Modified:
    geronimo/trunk/specs/activation/src/java/javax/activation/MimeType.java
    geronimo/trunk/specs/activation/src/test/javax/activation/MimeTypeTest.java

Modified: geronimo/trunk/specs/activation/src/java/javax/activation/MimeType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/specs/activation/src/java/javax/activation/MimeType.java?view=diff&r1=158932&r2=158933
==============================================================================
--- geronimo/trunk/specs/activation/src/java/javax/activation/MimeType.java (original)
+++ geronimo/trunk/specs/activation/src/java/javax/activation/MimeType.java Thu Mar 24 10:20:31
2005
@@ -102,6 +102,7 @@
 
     public void writeExternal(ObjectOutput out) throws IOException {
         out.writeUTF(toString());
+        out.flush();
     }
 
     public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {

Modified: geronimo/trunk/specs/activation/src/test/javax/activation/MimeTypeTest.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/specs/activation/src/test/javax/activation/MimeTypeTest.java?view=diff&r1=158932&r2=158933
==============================================================================
--- geronimo/trunk/specs/activation/src/test/javax/activation/MimeTypeTest.java (original)
+++ geronimo/trunk/specs/activation/src/test/javax/activation/MimeTypeTest.java Thu Mar 24
10:20:31 2005
@@ -104,7 +104,6 @@
             }
 
             public void flush() {
-                fail();
             }
 
             public void write(int b) {



Mime
View raw message