As approved by Tom Tromey on [EMAIL PROTECTED]


2005-09-13  David Daney  <[EMAIL PROTECTED]>

        * 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.
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to