Deal with empty strings as if they're null in the format

This commit is contained in:
Reinhard Pointner 2016-04-07 16:43:40 +00:00
parent b933178f4e
commit 0dc6a49ef5
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ public class ExpressionFormatFunctions {
return null;
}
}
if (object instanceof CharSequence && object.toString().isEmpty()) {
return null;
}
return object;
}