Master branch updates from beta September 2023 #337
|
@ -105,6 +105,8 @@ public class MapDocumentUtil {
|
||||||
|
|
||||||
|
|
||||||
public static String truncateValue(String value, int length) {
|
public static String truncateValue(String value, int length) {
|
||||||
|
if (value == null)
|
||||||
|
return "";
|
||||||
|
|
||||||
if (length == -1 || length > value.length())
|
if (length == -1 || length > value.length())
|
||||||
return value;
|
return value;
|
||||||
|
|
Loading…
Reference in New Issue