GH-794 - 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 706e9c8b3c
commit 375dd50e6d

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