mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Support printing of null references
This commit is contained in:
@ -379,7 +379,7 @@ public final class String implements Comparable<String> {
|
||||
public native String intern();
|
||||
|
||||
public static String valueOf(Object s) {
|
||||
return s.toString();
|
||||
return s == null ? "null" : s.toString();
|
||||
}
|
||||
|
||||
public static String valueOf(boolean v) {
|
||||
|
Reference in New Issue
Block a user