Serialization of fields in XML records for Sygma (and not only) #171

Merged
alessia.bardi merged 3 commits from sygma_indexing into beta 2021-12-09 15:53:28 +01:00
1 changed files with 7 additions and 7 deletions
Showing only changes of commit e53228401b - Show all commits

View File

@ -1214,13 +1214,13 @@ public class XmlRecordFactory implements Serializable {
if (instance.getLicense() != null) { if (instance.getLicense() != null) {
fields fields
.addAll( .addAll(
instance instance
.getLicense() .getLicense()
.stream() .stream()
.filter(d -> isNotBlank(d)) .filter(d -> isNotBlank(d))
.map(d -> XmlSerializationUtils.asXmlElement("license", d)) .map(d -> XmlSerializationUtils.asXmlElement("license", d))
.collect(Collectors.toList())); .collect(Collectors.toList()));
} }
children children