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:
committed by
Mark Wielaard
parent
985287b87c
commit
fb034e9464
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user