Browse Source

Polishing

pull/34398/head
Sam Brannen 1 year ago
parent
commit
724700d708
  1. 5
      framework-docs/modules/ROOT/pages/languages/kotlin/annotations.adoc

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

@ -19,11 +19,8 @@ that a bean of type `Toy` must be registered in the application context, while a @@ -19,11 +19,8 @@ that a bean of type `Toy` must be registered in the application context, while a
type `Car` may or may not exist. The same behavior applies to autowired constructor parameters.
NOTE: If you use bean validation on classes with properties or a primary constructor
parameters, you may need to use
with parameters, you may need to use
{kotlin-docs}/annotations.html#annotation-use-site-targets[annotation use-site targets],
such as `@field:NotNull` or `@get:Size(min=5, max=15)`, as described in
{stackoverflow-site}/a/35853200/1092077[this Stack Overflow response].

Loading…
Cancel
Save