forked from D-Net/dnet-hadoop
This commit is contained in:
parent
44e1c40c42
commit
d7d84c8217
|
@ -73,7 +73,8 @@ public class ResultTagger implements Serializable {
|
||||||
final Set<String> subjects = new HashSet<>();
|
final Set<String> subjects = new HashSet<>();
|
||||||
|
|
||||||
if (Objects.nonNull(result.getSubject())) {
|
if (Objects.nonNull(result.getSubject())) {
|
||||||
result.getSubject()
|
result
|
||||||
|
.getSubject()
|
||||||
.stream()
|
.stream()
|
||||||
.map(subject -> subject.getValue())
|
.map(subject -> subject.getValue())
|
||||||
.filter(StringUtils::isNotBlank)
|
.filter(StringUtils::isNotBlank)
|
||||||
|
|
Loading…
Reference in New Issue