forked from D-Net/dnet-hadoop
style
This commit is contained in:
parent
6b5d7688a4
commit
e53228401b
|
@ -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