From 86eae791d13300238e5b8300a303f4af46e833c9 Mon Sep 17 00:00:00 2001 From: Thiago Bomfim Date: Thu, 15 Aug 2024 12:02:36 -0300 Subject: [PATCH] GH-793 - Fixing assertion message in HourHasPassed. --- .../org/springframework/modulith/moments/HourHasPassed.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-modulith-moments/src/main/java/org/springframework/modulith/moments/HourHasPassed.java b/spring-modulith-moments/src/main/java/org/springframework/modulith/moments/HourHasPassed.java index 410b9f976..d5caf61c1 100644 --- a/spring-modulith-moments/src/main/java/org/springframework/modulith/moments/HourHasPassed.java +++ b/spring-modulith-moments/src/main/java/org/springframework/modulith/moments/HourHasPassed.java @@ -40,7 +40,7 @@ public class HourHasPassed implements DomainEvent { */ private HourHasPassed(LocalDateTime time) { - Assert.notNull(time, "YearMonth must not be null!"); + Assert.notNull(time, "LocalDateTime must not be null!"); this.time = time; }