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
This commit is contained in:
Mark Wielaard 2000-08-24 06:56:38 +00:00 committed by Mark Wielaard
parent 985287b87c
commit fb034e9464
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);
}
/**