aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/PrintWriter.java
diff options
context:
space:
mode:
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 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());
}
}
+