Skip to content

Commit 375dd50

Browse files
ThiagoBfimodrotbohm
authored andcommitted
GH-794 - Fixing assertion message in HourHasPassed.
1 parent 706e9c8 commit 375dd50

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)