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))
|
.collect(Collectors.groupingBy(ImmutablePair::getLeft))
|
||||||
.values()
|
.values()
|
||||||
.stream()
|
.stream()
|
||||||
|
.filter(Objects::nonNull)
|
||||||
.map(this::mergeInstances);
|
.map(this::mergeInstances);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue