Skip to content

Commit 86eae79

Browse files
ThiagoBfimodrotbohm
authored andcommitted
GH-793 - Fixing assertion message in HourHasPassed.
1 parent d4fc976 commit 86eae79

File tree

1 file changed

+1
-1
lines changed
  • spring-modulith-moments/src/main/java/org/springframework/modulith/moments

1 file changed

+1
-1
lines changed

spring-modulith-moments/src/main/java/org/springframework/modulith/moments/HourHasPassed.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class HourHasPassed implements DomainEvent {
4040
*/
4141
private HourHasPassed(LocalDateTime time) {
4242

43-
Assert.notNull(time, "YearMonth must not be null!");
43+
Assert.notNull(time, "LocalDateTime must not be null!");
4444

4545
this.time = time;
4646
}

0 commit comments

Comments
 (0)