DDS-GmbH / jocument

JVM based template engine for DOCX and XLSX.
MIT License
3 stars 1 forks source link

Return empty string if field is null #209

Closed AntonOellerer closed 1 year ago

AntonOellerer commented 1 year ago

Up until now, if during reflection resolving a field was null, the resolver continued search further up the object tree. This should not happen, as a field being null also constitutes information. To fix this, from now on a ScalarPlaceholderData(null) is returned, with the default formatting of null being the empty string.