Commit fb034e94 by Mark Wielaard Committed by Mark Wielaard

PrintWriter.java (print(String)): Don't catch IOException, write(String) already does.

	* java/io/PrintWriter.java (print(String)): Don't catch IOException,
	write(String) already does.

From-SVN: r35937
parent 985287b8
2000-08-23 Mark Wielaard <mark@klomp.org>
* java/io/PrintWriter.java (print(String)): Don't catch IOException,
write(String) already does.
2000-08-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* gnu/gcj/jni/NativeThread.java (NativeThread): Removed assignment
......
......@@ -171,14 +171,7 @@ public class PrintWriter extends Writer
*/
public void print(String str)
{
try
{
write(str == null ? "null" : str);
}
catch (IOException ex)
{
error = true;
}
write(str == null ? "null" : str);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment