harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r535214 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/DataOutputStream.java
Date Fri, 04 May 2007 12:44:00 GMT
Author: apetrenko
Date: Fri May  4 05:44:00 2007
New Revision: 535214

URL: http://svn.apache.org/viewvc?view=rev&rev=535214
Log:
Additional patch for HARMONY-3795

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/DataOutputStream.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/DataOutputStream.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/DataOutputStream.java?view=diff&rev=535214&r1=535213&r2=535214
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/DataOutputStream.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/DataOutputStream.java
Fri May  4 05:44:00 2007
@@ -195,6 +195,7 @@
         buff[0] = (byte) (val >> 8);
         buff[1] = (byte) val;
         out.write(buff, 0, 2);
+        written += 2;
     }
 
     /**
@@ -276,6 +277,7 @@
         buff[2] = (byte) (val >> 8);
         buff[3] = (byte) val;
         out.write(buff, 0, 4);
+        written += 4;
     }
 
     /**
@@ -301,6 +303,7 @@
         buff[6] = (byte) (val >> 8);
         buff[7] = (byte) val;
         out.write(buff, 0, 8);
+        written += 8;
     }
 
     /**
@@ -321,6 +324,7 @@
         buff[0] = (byte) (val >> 8);
         buff[1] = (byte) val;
         out.write(buff, 0, 2);
+        written += 2;
     }
 
     /**



Mime
View raw message