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) {
|
||||
fields
|
||||
.addAll(
|
||||
instance
|
||||
.getLicense()
|
||||
.stream()
|
||||
.filter(d -> isNotBlank(d))
|
||||
.map(d -> XmlSerializationUtils.asXmlElement("license", d))
|
||||
.collect(Collectors.toList()));
|
||||
.addAll(
|
||||
instance
|
||||
.getLicense()
|
||||
.stream()
|
||||
.filter(d -> isNotBlank(d))
|
||||
.map(d -> XmlSerializationUtils.asXmlElement("license", d))
|
||||
.collect(Collectors.toList()));
|
||||
}
|
||||
|
||||
children
|
||||
|
|
Loading…
Reference in New Issue