Skip to content

Commit 57a68ad

Browse files
alex-kravlxbzmy
authored andcommitted
Fix @eventlistener example in reference manual
Closes spring-projectsgh-26622
1 parent 735e193 commit 57a68ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/asciidoc/core/core-beans.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10724,15 +10724,15 @@ The following example shows how our notifier can be rewritten to be invoked only
1072410724
.Java
1072510725
----
1072610726
@EventListener(condition = "#blEvent.content == 'my-event'")
10727-
public void processBlockedListEvent(BlockedListEvent blockedListEvent) {
10727+
public void processBlockedListEvent(BlockedListEvent blEvent) {
1072810728
// notify appropriate parties via notificationAddress...
1072910729
}
1073010730
----
1073110731
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
1073210732
.Kotlin
1073310733
----
1073410734
@EventListener(condition = "#blEvent.content == 'my-event'")
10735-
fun processBlockedListEvent(blockedListEvent: BlockedListEvent) {
10735+
fun processBlockedListEvent(blEvent: BlockedListEvent) {
1073610736
// notify appropriate parties via notificationAddress...
1073710737
}
1073810738
----

0 commit comments

Comments
 (0)