harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r814402 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/DataOutputStream.java
Date Sun, 13 Sep 2009 22:25:51 GMT
Author: hindessm
Date: Sun Sep 13 22:25:51 2009
New Revision: 814402

URL: http://svn.apache.org/viewvc?rev=814402&view=rev
Log:
Oops.  Forgot to merge the typo fixes before previous checkin.

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?rev=814402&r1=814401&r2=814402&view=diff
==============================================================================
--- 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
Sun Sep 13 22:25:51 2009
@@ -279,14 +279,14 @@
 
     int writeLongToBuffer(long val,
                           byte[] buffer, int offset) throws IOException {
-        buff[offset++] = (byte) (val >> 56);
-        buff[offset++] = (byte) (val >> 48);
-        buff[offset++] = (byte) (val >> 40);
-        buff[offset++] = (byte) (val >> 32);
-        buff[offset++] = (byte) (val >> 24);
-        buff[offset++] = (byte) (val >> 16);
-        buff[offset++] = (byte) (val >> 8);
-        buff[offset++] = (byte) val;
+        buffer[offset++] = (byte) (val >> 56);
+        buffer[offset++] = (byte) (val >> 48);
+        buffer[offset++] = (byte) (val >> 40);
+        buffer[offset++] = (byte) (val >> 32);
+        buffer[offset++] = (byte) (val >> 24);
+        buffer[offset++] = (byte) (val >> 16);
+        buffer[offset++] = (byte) (val >> 8);
+        buffer[offset++] = (byte) val;
         return offset;
     }
 



Mime
View raw message