Serialization of fields in XML records for Sygma (and not only) #171
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue