This commit is contained in:
Claudio Atzori 2020-12-04 16:32:47 +01:00
parent 5b4e1142a8
commit a104a632df
1 changed files with 0 additions and 9 deletions

View File

@ -190,15 +190,6 @@ public class CleaningFunctions {
} }
} }
final Set<String> collectedFrom = Optional
.ofNullable(r.getCollectedfrom())
.map(
c -> c
.stream()
.map(KeyValue::getKey)
.collect(Collectors.toCollection(HashSet::new)))
.orElse(new HashSet<>());
for (Author a : r.getAuthor()) { for (Author a : r.getAuthor()) {
if (Objects.isNull(a.getPid())) { if (Objects.isNull(a.getPid())) {
a.setPid(Lists.newArrayList()); a.setPid(Lists.newArrayList());