Updated null.toString() to return an empty string as per #1635

This commit is contained in:
Owen Stephens 2018-06-14 12:24:30 +01:00
parent 5ecb1afe13
commit 09c624a249

View File

@ -17,7 +17,7 @@ public class StringUtils {
OffsetDateTime odt = (OffsetDateTime)o;
return odt.format(DateTimeFormatter.ofPattern(DEFAULT_PATTERN));
} else if (o == null) {
return "null";
return "";
} else {
return o.toString();
}