We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58f0338 commit 660dd23Copy full SHA for 660dd23
docs/asciidoc/modules/spring.adoc
@@ -92,10 +92,10 @@ public class BillingService {
92
.Kotlin
93
[source,kotlin,role="secondary"]
94
----
95
-import javax.injext.Inject
+import javax.inject.Inject
96
import org.springframework.beans.factory.annotation.Value
97
98
-class BillingService @Inject constructor(@Value("${currency}") currency: String) {
+class BillingService @Inject constructor(@Value("\${currency}") val currency: String) {
99
...
100
}
101
0 commit comments