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:
parent
985287b87c
commit
fb034e9464
2 changed files with 6 additions and 8 deletions
|
@ -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>
|
2000-08-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||||
|
|
||||||
* gnu/gcj/jni/NativeThread.java (NativeThread): Removed assignment
|
* gnu/gcj/jni/NativeThread.java (NativeThread): Removed assignment
|
||||||
|
|
|
@ -171,14 +171,7 @@ public class PrintWriter extends Writer
|
||||||
*/
|
*/
|
||||||
public void print(String str)
|
public void print(String str)
|
||||||
{
|
{
|
||||||
try
|
write(str == null ? "null" : str);
|
||||||
{
|
|
||||||
write(str == null ? "null" : str);
|
|
||||||
}
|
|
||||||
catch (IOException ex)
|
|
||||||
{
|
|
||||||
error = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue