From 9f714d5eec05594569dd89920353272606622d8a Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 20 Apr 2004 11:37:41 +0000 Subject: BufferedWriter.java, [...]: Fixed javadocs all over, rename arguments to match javadocs, fixed coding style. 2004-04-20 Michael Koch * java/io/BufferedWriter.java, java/io/ByteArrayInputStream.java, java/io/CharArrayWriter.java, java/io/DataInput.java, java/io/DataInputStream.java, java/io/File.java, java/io/FilterInputStream.java, java/io/InputStream.java, java/io/InputStreamReader.java, java/io/ObjectInputStream.java, java/io/ObjectStreamClass.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PushbackInputStream.java, java/io/PushbackReader.java, java/io/RandomAccessFile.java, java/io/SerializablePermission.java, java/io/StreamTokenizer.java, java/io/StringWriter.java, java/io/WriteAbortedException.java, java/io/Writer.java: Fixed javadocs all over, rename arguments to match javadocs, fixed coding style. From-SVN: r80897 --- libjava/java/io/BufferedWriter.java | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'libjava/java/io/BufferedWriter.java') diff --git a/libjava/java/io/BufferedWriter.java b/libjava/java/io/BufferedWriter.java index b35ca6e..8723689 100644 --- a/libjava/java/io/BufferedWriter.java +++ b/libjava/java/io/BufferedWriter.java @@ -44,18 +44,17 @@ package java.io; */ /** - * This class accumulates chars written in a buffer instead of immediately - * writing the data to the underlying output sink. The chars are instead - * as one large block when the buffer is filled, or when the stream is - * closed or explicitly flushed. This mode operation can provide a more - * efficient mechanism for writing versus doing numerous small unbuffered - * writes. - * - * @author Aaron M. Renn (arenn@urbanophile.com) - * @author Tom Tromey - * @date September 25, 1998 - */ - + * This class accumulates chars written in a buffer instead of immediately + * writing the data to the underlying output sink. The chars are instead + * as one large block when the buffer is filled, or when the stream is + * closed or explicitly flushed. This mode operation can provide a more + * efficient mechanism for writing versus doing numerous small unbuffered + * writes. + * + * @author Aaron M. Renn (arenn@urbanophile.com) + * @author Tom Tromey (tromey@cygnus.com) + * @date September 25, 1998 + */ public class BufferedWriter extends Writer { /** @@ -90,6 +89,8 @@ public class BufferedWriter extends Writer * This method flushes any remaining buffered chars then closes the * underlying output stream. Any further attempts to write to this stream * may throw an exception + * + * @exception IOException If an error occurs. */ public void close () throws IOException { @@ -138,7 +139,7 @@ public class BufferedWriter extends Writer * is filled as a result of this write request, it will be flushed to the * underlying output stream. * - * @param b The char of data to be written, passed as an int + * @param oneChar The char of data to be written, passed as an int * * @exception IOException If an error occurs */ -- cgit v1.1