From 0087578469dd7c7b3a638a37e8fda245de3b0506 Mon Sep 17 00:00:00 2001 From: Oleksandr Kravchuk Date: Mon, 1 Mar 2021 21:22:58 +0200 Subject: [PATCH] Fix @EventListener example in reference manual Closes gh-26622 --- src/docs/asciidoc/core/core-beans.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/core/core-beans.adoc b/src/docs/asciidoc/core/core-beans.adoc index f64fbd36d1..0aa1b30006 100644 --- a/src/docs/asciidoc/core/core-beans.adoc +++ b/src/docs/asciidoc/core/core-beans.adoc @@ -10724,7 +10724,7 @@ The following example shows how our notifier can be rewritten to be invoked only .Java ---- @EventListener(condition = "#blEvent.content == 'my-event'") - public void processBlockedListEvent(BlockedListEvent blockedListEvent) { + public void processBlockedListEvent(BlockedListEvent blEvent) { // notify appropriate parties via notificationAddress... } ---- @@ -10732,7 +10732,7 @@ The following example shows how our notifier can be rewritten to be invoked only .Kotlin ---- @EventListener(condition = "#blEvent.content == 'my-event'") - fun processBlockedListEvent(blockedListEvent: BlockedListEvent) { + fun processBlockedListEvent(blEvent: BlockedListEvent) { // notify appropriate parties via notificationAddress... } ----