From b8996ade85a4247d879705e3060e90b3a0793dcd Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Sat, 5 Jun 2021 16:10:23 +0200 Subject: [PATCH] fix: improved string concatenation in ValidationUtility --- .../teamname/marvelous/gamelibrary/json/ValidationUtility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/uulm/teamname/marvelous/gamelibrary/json/ValidationUtility.java b/src/main/java/uulm/teamname/marvelous/gamelibrary/json/ValidationUtility.java index 5dbaca4..d6d3b52 100644 --- a/src/main/java/uulm/teamname/marvelous/gamelibrary/json/ValidationUtility.java +++ b/src/main/java/uulm/teamname/marvelous/gamelibrary/json/ValidationUtility.java @@ -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(", "))); } }