added cleaning for the format field, removing carrige return and tab characters

This commit is contained in:
Claudio Atzori 2021-12-14 11:41:46 +01:00
parent 98eb292c59
commit aff3ddc8d2
1 changed files with 9 additions and 0 deletions

View File

@ -230,6 +230,15 @@ public class GraphCleaningFunctions extends CleaningFunctions {
.map(GraphCleaningFunctions::cleanValue)
.collect(Collectors.toList()));
}
if (Objects.nonNull(r.getFormat())) {
r
.setFormat(
r
.getFormat()
.stream()
.map(GraphCleaningFunctions::cleanValue)
.collect(Collectors.toList()));
}
if (Objects.nonNull(r.getDescription())) {
r
.setDescription(