GH-793 - Fixing assertion message in HourHasPassed.

This commit is contained in:
Thiago Bomfim
2024-08-15 12:02:36 -03:00
committed by Oliver Drotbohm
parent d4fc976c93
commit 86eae791d1

View File

@@ -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;
}