diff options
author | Michael Koch <konqueror@gmx.de> | 2003-03-18 06:00:25 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-03-18 06:00:25 +0000 |
commit | f4f5d1d62161cc99ecfc68495d501342aa1e61dc (patch) | |
tree | 9f83602fa5fd87c7741475487fab1b0b3a3e47ab /libjava/java/io/PrintWriter.java | |
parent | 61f1ed592c606d1d2ae272292ad4dbe37d71d78b (diff) | |
download | gcc-f4f5d1d62161cc99ecfc68495d501342aa1e61dc.zip gcc-f4f5d1d62161cc99ecfc68495d501342aa1e61dc.tar.gz gcc-f4f5d1d62161cc99ecfc68495d501342aa1e61dc.tar.bz2 |
BufferedReader.java, [...]: Merged from classpath.
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.
From-SVN: r64525
Diffstat (limited to 'libjava/java/io/PrintWriter.java')
-rw-r--r-- | libjava/java/io/PrintWriter.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libjava/java/io/PrintWriter.java b/libjava/java/io/PrintWriter.java index 78a56dd..acc6ae4 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()); } } + |