Updated null
.toString() to return an empty string as per #1635
This commit is contained in:
parent
5ecb1afe13
commit
09c624a249
@ -17,7 +17,7 @@ public class StringUtils {
|
|||||||
OffsetDateTime odt = (OffsetDateTime)o;
|
OffsetDateTime odt = (OffsetDateTime)o;
|
||||||
return odt.format(DateTimeFormatter.ofPattern(DEFAULT_PATTERN));
|
return odt.format(DateTimeFormatter.ofPattern(DEFAULT_PATTERN));
|
||||||
} else if (o == null) {
|
} else if (o == null) {
|
||||||
return "null";
|
return "";
|
||||||
} else {
|
} else {
|
||||||
return o.toString();
|
return o.toString();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user