GH-597 - Polishing.

This commit is contained in:
Oliver Drotbohm
2024-05-16 13:27:45 +02:00
parent 3ba9b5b105
commit 81eae99b95

View File

@@ -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) {