Update Java 11 to Java 17 in documentation

This commit is contained in:
Moritz Halbritter 2023-01-09 15:24:16 +01:00
parent 7922ac63bc
commit 5a97c1493e
2 changed files with 3 additions and 3 deletions

View File

@ -1077,8 +1077,8 @@ For example, you could add the following settings to your `application.propertie
app:
encoding: "UTF-8"
java:
source: "11"
target: "11"
source: "17"
target: "17"
----
[TIP]

View File

@ -724,7 +724,7 @@ In this setup, the presence of a single parameterized constructor implies that c
This means that the binder will find a constructor with the parameters that you wish to have bound.
If your class has multiple constructors, the `@ConstructorBinding` annotation can be used to specify which constructor to use for constructor binding.
To opt out of constructor binding for a class with a single parameterized constructor, the constructor must be annotated with `@Autowired`.
If you are using Java 16 or later, constructor binding can be used with records.
Constructor binding can be used with records.
Unless your record has multiple constructors, there is no need to use `@ConstructorBinding`.
Nested members of a constructor bound class (such as `Security` in the example above) will also be bound through their constructor.