From 6298baca24211766623cbae4d150698cefdfc24c Mon Sep 17 00:00:00 2001 From: xstefank Date: Wed, 23 Sep 2020 09:02:39 +0200 Subject: [PATCH] Fix errors in the CDI guide --- docs/src/main/asciidoc/cdi.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/main/asciidoc/cdi.adoc b/docs/src/main/asciidoc/cdi.adoc index dbb958ff793db..49fe0dfd3c0ba 100644 --- a/docs/src/main/asciidoc/cdi.adoc +++ b/docs/src/main/asciidoc/cdi.adoc @@ -109,7 +109,7 @@ Intializers may accept multiple parameters and don't have to follow the JavaBean @ApplicationScoped public class Translator { - private final TranslatorHelper helper + private final TranslatorHelper helper; Translator(TranslatorHelper helper) { <1> this.helper = helper; @@ -341,9 +341,9 @@ public class LoggingInterceptor { Logger logger; @AroundInvoke <5> - Objec logInvocation(InvocationContext context) { + Object logInvocation(InvocationContext context) { // ...log before - Objec ret = context.proceed(); <6> + Object ret = context.proceed(); <6> // ...log after return ret; } @@ -377,7 +377,7 @@ class TaskCompleted { class ComplicatedService { @Inject - Event event; <1> + Event event; <1> void doSomething() { // ...