Skip to content

Commit 83ba7e6

Browse files
Spanchingsbrannen
authored andcommitted
Fix minor typo in reference documentation for Kotlin annotations
Closes gh-34134
1 parent c1236a3 commit 83ba7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/languages/kotlin/annotations.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ For example, `@Autowired lateinit var thing: Thing` implies that a bean
1414
of type `Thing` must be registered in the application context, while `@Autowired lateinit var thing: Thing?`
1515
does not raise an error if such a bean does not exist.
1616

17-
Following the same principle, `@Bean fun play(toy: Toy, car: Car?) = Baz(toy, Car)` implies
17+
Following the same principle, `@Bean fun play(toy: Toy, car: Car?) = Baz(toy, car)` implies
1818
that a bean of type `Toy` must be registered in the application context, while a bean of
1919
type `Car` may or may not exist. The same behavior applies to autowired constructor parameters.
2020

0 commit comments

Comments
 (0)