harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r608805 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/io/FileOutputStreamTest.java
Date Fri, 04 Jan 2008 11:34:00 GMT
Author: tellison
Date: Fri Jan  4 03:33:58 2008
New Revision: 608805

URL: http://svn.apache.org/viewvc?rev=608805&view=rev
Log:
Fix minor typo in testcase.
>From HARMONY-508 ([classlib][luni] java.io.FileOutputStream.getChannel().position() returns
incorrect value on Linux platform)

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/io/FileOutputStreamTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/io/FileOutputStreamTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/io/FileOutputStreamTest.java?rev=608805&r1=608804&r2=608805&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/io/FileOutputStreamTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/tests/api/java/io/FileOutputStreamTest.java
Fri Jan  4 03:33:58 2008
@@ -229,7 +229,7 @@
 		tmpfile.deleteOnExit();
 		FileOutputStream fos = new FileOutputStream(tmpfile);
 		byte[] b = new byte[10];
-		for (int i = 10; i < b.length; i++) {
+		for (int i = 0; i < b.length; i++) {
 			b[i] = (byte) i;
 		}
 		fos.write(b);



Mime
View raw message