1
0
Fork 0

fixed serialization for datasource subjects

This commit is contained in:
Claudio Atzori 2020-03-10 17:07:44 +01:00
parent ccb153de78
commit 0e95544495
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ public class XmlRecordFactory implements Serializable {
if (ds.getSubjects() != null) {
metadata.addAll(ds.getSubjects()
.stream()
.map(sp -> mapStructuredProperty("subject", sp))
.map(sp -> mapStructuredProperty("subjects", sp))
.collect(Collectors.toList()));
}