[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: java.io.ByteArrayOutputStream fix toString(int)...
From: |
David Daney |
Subject: |
[cp-patches] FYI: java.io.ByteArrayOutputStream fix toString(int)... |
Date: |
Tue, 13 Sep 2005 10:07:32 -0700 |
User-agent: |
Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) |
As approved by Tom Tromey on address@hidden
2005-09-13 David Daney <address@hidden>
* java/io/ByteArrayOutputStream.java: Reformated copyright notice.
(toString(int)): Pass correct parameters to String constructor.
David Daney.
Index: java/io/ByteArrayOutputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/ByteArrayOutputStream.java,v
retrieving revision 1.17
diff -c -r1.17 ByteArrayOutputStream.java
*** java/io/ByteArrayOutputStream.java 2 Jul 2005 20:32:37 -0000 1.17
--- java/io/ByteArrayOutputStream.java 13 Sep 2005 16:59:42 -0000
***************
*** 1,5 ****
/* BufferedReader.java
! Copyright (C) 1998, 1999, 2000, 2001, 2003, 2005 Free Software
Foundation, Inc.
This file is part of GNU Classpath.
--- 1,6 ----
/* BufferedReader.java
! Copyright (C) 1998, 1999, 2000, 2001, 2003, 2005
! Free Software Foundation, Inc.
This file is part of GNU Classpath.
***************
*** 192,198 ****
*/
public String toString (int hibyte)
{
! return new String (buf, 0, count, hibyte);
}
// Resize buffer to accommodate new bytes.
--- 193,199 ----
*/
public String toString (int hibyte)
{
! return new String (buf, hibyte, 0, count);
}
// Resize buffer to accommodate new bytes.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: java.io.ByteArrayOutputStream fix toString(int)...,
David Daney <=