Support printing of null references

This commit is contained in:
Eric Scharff
2007-09-27 15:05:55 -06:00
parent 9621679d2a
commit 101b0c3b0e
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ public class PrintStream extends OutputStream {
}
public void print(Object o) {
print(o.toString());
print(String.valueOf(o));
}
public void print(char c) {