[Cleaning] filter authors not providing word characters in the fullname

pull/92/head
Claudio Atzori 3 years ago
parent 2890511613
commit 885e0dd926

@ -206,7 +206,8 @@ public class CleaningFunctions {
.getAuthor()
.stream()
.filter(a -> Objects.nonNull(a))
.filter(a -> StringUtils.isNotBlank(StringUtils.trim(a.getFullname())))
.filter(a -> StringUtils.isNotBlank(a.getFullname()))
.filter(a -> StringUtils.isNotBlank(a.getFullname().replaceAll("[\\W]", "")))
.collect(Collectors.toList()));
boolean nullRank = r

Loading…
Cancel
Save