Skip to content

Commit eefdf42

Browse files
committed
Merge branch '6.1.x'
2 parents acdd8a0 + d55abc6 commit eefdf42

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Java::
299299
public class AppConfig {
300300
301301
@Bean
302-
public MethodValidationPostProcessor validationPostProcessor() {
302+
public static MethodValidationPostProcessor validationPostProcessor() {
303303
return new MethodValidationPostProcessor();
304304
}
305305
}
@@ -357,7 +357,7 @@ Java::
357357
public class AppConfig {
358358
359359
@Bean
360-
public MethodValidationPostProcessor validationPostProcessor() {
360+
public static MethodValidationPostProcessor validationPostProcessor() {
361361
MethodValidationPostProcessor processor = new MethodValidationPostProcessor();
362362
processor.setAdaptConstraintViolations(true);
363363
return processor;

spring-core/src/main/java/org/springframework/aot/hint/annotation/RegisterReflectionForBinding.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
* // ...
4242
* }</pre>
4343
*
44-
* <p>The annotated element can be any Spring bean class, constructor, field,
45-
* or method &mdash; for example:
44+
* <p>The annotated element can be any Spring bean class or method &mdash; for example:
4645
*
4746
* <pre class="code">
4847
* &#064;Service

0 commit comments

Comments
 (0)