From 81eae99b950b2612fdac88ef1ec9846fa507bf89 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Thu, 16 May 2024 13:27:45 +0200 Subject: [PATCH] GH-597 - Polishing. --- .../java/org/springframework/modulith/core/Violations.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-modulith-core/src/main/java/org/springframework/modulith/core/Violations.java b/spring-modulith-core/src/main/java/org/springframework/modulith/core/Violations.java index 94559d44..66798e8a 100644 --- a/spring-modulith-core/src/main/java/org/springframework/modulith/core/Violations.java +++ b/spring-modulith-core/src/main/java/org/springframework/modulith/core/Violations.java @@ -49,7 +49,8 @@ public class Violations extends RuntimeException { } /** - * A {@link Collector} to turn a {@link Stream} of {@link RuntimeException}s into a {@link Violations} instance. + * A {@link Collector} to turn a {@link java.util.stream.Stream} of {@link RuntimeException}s into a + * {@link Violations} instance. * * @return will never be {@literal null}. */ @@ -91,7 +92,7 @@ public class Violations extends RuntimeException { /** * Creates a new {@link Violations} with the given {@link RuntimeException} added to the current ones? * - * @param exception must not be {@literal null}. + * @param violation must not be {@literal null}. * @return */ Violations and(Violation violation) {