Skip to content

Commit 8b4750e

Browse files
committed
Fix Kotlin example for @componentscan basePackages attribute
Closes gh-28628
1 parent 2e03333 commit 8b4750e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6615,7 +6615,7 @@ and using "`stub`" repositories instead:
66156615
.Kotlin
66166616
----
66176617
@Configuration
6618-
@ComponentScan(basePackages = "org.example",
6618+
@ComponentScan(basePackages = ["org.example"],
66196619
includeFilters = [Filter(type = FilterType.REGEX, pattern = [".*Stub.*Repository"])],
66206620
excludeFilters = [Filter(Repository::class)])
66216621
class AppConfig {

0 commit comments

Comments
 (0)