summaryrefslogtreecommitdiffstats
path: root/libjava/java/io/PrintWriter.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-18 06:00:25 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-18 06:00:25 +0000
commitb5802bd7cc5d653cb65493c5e28bbc5752b93d5e (patch)
tree9f83602fa5fd87c7741475487fab1b0b3a3e47ab /libjava/java/io/PrintWriter.java
parent4aca39bba4209cb95f2219085d85e41a3d4e4e1c (diff)
downloadppe42-gcc-b5802bd7cc5d653cb65493c5e28bbc5752b93d5e.tar.gz
ppe42-gcc-b5802bd7cc5d653cb65493c5e28bbc5752b93d5e.zip
2003-03-18 Michael Koch <konqueror@gmx.de>
* java/io/BufferedReader.java, java/io/BufferedWriter.java, java/io/ByteArrayOutputStream.java, java/io/FileFilter.java, java/io/FilePermission.java, java/io/FileReader.java, java/io/FileWriter.java, java/io/FilenameFilter.java, java/io/FilterInputStream.java, java/io/FilterOutputStream.java, java/io/FilterReader.java, java/io/FilterWriter.java, java/io/ObjectInput.java, java/io/ObjectInputValidation.java, java/io/ObjectOutput.java, java/io/ObjectStreamField.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PrintWriter.java, java/io/PushbackReader.java, java/io/Reader.java, java/io/SerializablePermission.java, java/io/StringReader.java, java/io/Writer.java: Merged from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io/PrintWriter.java')
-rw-r--r--libjava/java/io/PrintWriter.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/libjava/java/io/PrintWriter.java b/libjava/java/io/PrintWriter.java
index 78a56dd0b41..acc6ae46e3d 100644
--- a/libjava/java/io/PrintWriter.java
+++ b/libjava/java/io/PrintWriter.java
@@ -48,8 +48,6 @@ package java.io;
* class which also auto-flushes when it encounters a newline character
* in the chars written).
*
- * @version 0.0
- *
* @author Per Bothner <bothner@cygnus.com>
* @author Aaron M. Renn (arenn@urbanophile.com)
* @date April 17, 1998.
@@ -99,7 +97,8 @@ public class PrintWriter extends Writer
* every line is terminated or newline character is written.
*
* @param wr The <code>Writer</code> to write to.
- * @param autoflush <code>true</code> to flush the stream after every line, <code>false</code> otherwise
+ * @param autoflush <code>true</code> to flush the stream after every
+ * line, <code>false</code> otherwise
*/
public PrintWriter(Writer wr, boolean autoflush)
{
@@ -130,7 +129,8 @@ public class PrintWriter extends Writer
* constructor allows auto-flush functionality to be enabled if desired
*
* @param out The <code>OutputStream</code> to write to
- * @param autoflush <code>true</code> to flush the stream after every <code>println</code> call, <code>false</code> otherwise.
+ * @param autoflush <code>true</code> to flush the stream after every
+ * <code>println</code> call, <code>false</code> otherwise.
*/
public PrintWriter(OutputStream out, boolean autoflush)
{
@@ -153,7 +153,8 @@ public class PrintWriter extends Writer
* <code>true</code> forever for this stream. Before checking for an
* error condition, this method flushes the stream.
*
- * @return <code>true</code> if an error has occurred, <code>false</code> otherwise
+ * @return <code>true</code> if an error has occurred,
+ * <code>false</code> otherwise
*/
public boolean checkError()
{
@@ -309,7 +310,7 @@ public class PrintWriter extends Writer
* This is the system dependent line separator
*/
private static final char[] line_separator
- = System.getProperty("line.separator").toCharArray();
+ = System.getProperty("line.separator").toCharArray();
/**
* This method prints a line separator sequence to the stream. The value
@@ -567,3 +568,4 @@ public class PrintWriter extends Writer
write(str, 0, str.length());
}
}
+
OpenPOWER on IntegriCloud