From 1ef8800c6c6b5c1d7f4a90ddc7853786127840e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Wed, 13 Jul 2022 09:13:26 +0200 Subject: [PATCH] Fix Kotlin example for custom @Production Closes gh-28680 --- src/docs/asciidoc/core/core-beans.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/core/core-beans.adoc b/src/docs/asciidoc/core/core-beans.adoc index 612804beae..ab78bab146 100644 --- a/src/docs/asciidoc/core/core-beans.adoc +++ b/src/docs/asciidoc/core/core-beans.adoc @@ -9654,7 +9654,7 @@ of creating a custom composed annotation. The following example defines a custom [source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"] .Kotlin ---- - @Target(AnnotationTarget.TYPE) + @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.RUNTIME) @Profile("production") annotation class Production