This commit is contained in:
Miriam Baglioni 2020-07-17 14:03:23 +02:00
parent 44e1c40c42
commit d7d84c8217
1 changed files with 7 additions and 6 deletions

View File

@ -73,7 +73,8 @@ public class ResultTagger implements Serializable {
final Set<String> subjects = new HashSet<>();
if (Objects.nonNull(result.getSubject())) {
result.getSubject()
result
.getSubject()
.stream()
.map(subject -> subject.getValue())
.filter(StringUtils::isNotBlank)