mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 12:09:35 +08:00
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
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user