Skip to content

Commit 711c844

Browse files
committed
GH-1146 - Fix identifier comparison in event publications cache key.
1 parent aa640d0 commit 711c844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/core/DefaultEventPublicationRegistry.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ public final boolean equals(Object obj) {
386386
}
387387

388388
return this.event == that.event
389-
&& this.identifier.equals(identifier);
389+
&& this.identifier.equals(that.identifier);
390390
}
391391

392392
/*

0 commit comments

Comments
 (0)