forked from D-Net/dnet-hadoop
avoid NPEs merging XMLInstance(s)
This commit is contained in:
parent
25dc7929a9
commit
b70ecccea0
|
@ -1293,6 +1293,7 @@ public class XmlRecordFactory implements Serializable {
|
|||
.collect(Collectors.groupingBy(ImmutablePair::getLeft))
|
||||
.values()
|
||||
.stream()
|
||||
.filter(Objects::nonNull)
|
||||
.map(this::mergeInstances);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue