fix: improved string concatenation in ValidationUtility

This commit is contained in:
Yannik Bretschneider 2021-06-05 16:10:23 +02:00
parent 08707e7e73
commit b8996ade85
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class ValidationUtility {
if (violations.isEmpty()) return Optional.empty();
else {
return Optional.of(violations.stream()
.map(violation -> violation.getPropertyPath() + ": " + violation.getMessage())
.map(violation -> violation.getPropertyPath() + " " + violation.getMessage())
.collect(Collectors.joining(", ")));
}
}