summaryrefslogtreecommitdiffstats
path: root/libjava/java/io/BufferedWriter.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-20 11:37:41 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-20 11:37:41 +0000
commitd614d646f4cfd00edd308bbe987332271125e584 (patch)
tree009937b32fd6b3926fccb11ba8049b174994633b /libjava/java/io/BufferedWriter.java
parent558ba71fcc3a92c7fa4ca6fb0d5f0d076dde762f (diff)
downloadppe42-gcc-d614d646f4cfd00edd308bbe987332271125e584.tar.gz
ppe42-gcc-d614d646f4cfd00edd308bbe987332271125e584.zip
2004-04-20 Michael Koch <konqueror@gmx.de>
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80897 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io/BufferedWriter.java')
-rw-r--r--libjava/java/io/BufferedWriter.java27
1 files changed, 14 insertions, 13 deletions
diff --git a/libjava/java/io/BufferedWriter.java b/libjava/java/io/BufferedWriter.java
index b35ca6ea390..87236896afb 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 <tromey@cygnus.com>
- * @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
*/
OpenPOWER on IntegriCloud