diff options
author | Michael Koch <konqueror@gmx.de> | 2003-05-09 13:30:35 +0000 |
---|---|---|
committer | Michael Koch <konqueror@gmx.de> | 2003-05-09 13:30:35 +0000 |
commit | 49d29bc5853695091df7b7d76f2b01f516d8b15c (patch) | |
tree | 384948977e07c58cedff7845017ad913b92ab6c1 /java/io/InputStreamReader.java | |
parent | cd2dc30d336ccf84e81067785b3fb67353c0782d (diff) | |
download | classpath-49d29bc5853695091df7b7d76f2b01f516d8b15c.tar.gz |
2003-05-09 Michael Koch <konqueror@gmx.de>
* java/io/BufferedOutputStream.java
(close): New method merged from libgcj.
(finalize): Likewise.
* java/io/DataInputStream.java
(readChar): Reformatted.
(readInt): Likewise.
(readLine): Merged documentation from libgcj.
(readUnsignedByte): Likewise.
(readUnsignedShort): Likewise.
(skip): Likewise.
* java/io/InputStreamReader.java
(read): Merged documentation from libgcj, reformatted.
* java/io/OutputStreamWriter.java
(OutputStreamWriter): Merged class documentation with libgcj.
(OutputStreamWriter): Reformatted.
(close): Likewise.
(getEncoding): Likewise.
(flush): Likewise.
(write): Merged with libgcj.
Diffstat (limited to 'java/io/InputStreamReader.java')
-rw-r--r-- | java/io/InputStreamReader.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/io/InputStreamReader.java b/java/io/InputStreamReader.java index 514f7edef..c0d0ec546 100644 --- a/java/io/InputStreamReader.java +++ b/java/io/InputStreamReader.java @@ -88,7 +88,7 @@ import gnu.java.io.decode.Decoder; */ public class InputStreamReader extends Reader { - /* + /* * This is the byte-character decoder class that does the reading and * translation of bytes from the underlying stream. */ @@ -169,21 +169,21 @@ public class InputStreamReader extends Reader } /** - * This method reads up to <code>len</code> characters from the stream into + * This method reads up to <code>length</code> characters from the stream into * the specified array starting at index <code>offset</code> into the * array. * * @param buf The character array to recieve the data read * @param offset The offset into the array to start storing characters - * @param len The requested number of characters to read. + * @param length The requested number of characters to read. * * @return The actual number of characters read, or -1 if end of stream. * * @exception IOException If an error occurs */ - public int read(char[] buf, int offset, int len) throws IOException + public int read (char[] buf, int offset, int length) throws IOException { - return(in.read(buf, offset, len)); + return in.read(buf, offset, length); } /** |