Skip to content

Commit 81eae99

Browse files
committed
GH-597 - Polishing.
1 parent 3ba9b5b commit 81eae99

File tree

1 file changed

+3
-2
lines changed
  • spring-modulith-core/src/main/java/org/springframework/modulith/core

1 file changed

+3
-2
lines changed

spring-modulith-core/src/main/java/org/springframework/modulith/core/Violations.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ private Violations(List<Violation> violations) {
4949
}
5050

5151
/**
52-
* A {@link Collector} to turn a {@link Stream} of {@link RuntimeException}s into a {@link Violations} instance.
52+
* A {@link Collector} to turn a {@link java.util.stream.Stream} of {@link RuntimeException}s into a
53+
* {@link Violations} instance.
5354
*
5455
* @return will never be {@literal null}.
5556
*/
@@ -91,7 +92,7 @@ public void throwIfPresent() {
9192
/**
9293
* Creates a new {@link Violations} with the given {@link RuntimeException} added to the current ones?
9394
*
94-
* @param exception must not be {@literal null}.
95+
* @param violation must not be {@literal null}.
9596
* @return
9697
*/
9798
Violations and(Violation violation) {

0 commit comments

Comments
 (0)