fixed NPE

This commit is contained in:
Sandro La Bruzzo 2021-07-21 21:23:11 +02:00
parent 31d2d6d41e
commit d94565862a
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ public class AuthorMerger {
a -> a
.getPid()
.stream()
.filter(Objects::nonNull)
.map(p -> new Tuple2<>(pidToComparableString(p), a)))
.collect(Collectors.toMap(Tuple2::_1, Tuple2::_2, (x1, x2) -> x1));