Skip to content

Commit fe54801

Browse files
committed
Merge branch '3.1.x' into 3.2.x
Closes gh-39100
2 parents b14c4ef + f4ff2e6 commit fe54801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/application.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The following example registers `ProjectConstraintViolationFailureAnalyzer`:
2323
com.example.ProjectConstraintViolationFailureAnalyzer
2424
----
2525

26-
NOTE: If you need access to the `BeanFactory` or the `Environment`, your `FailureAnalyzer` can implement `BeanFactoryAware` or `EnvironmentAware` respectively.
26+
NOTE: If you need access to the `BeanFactory` or the `Environment`, declare them as constructor arguments in your `FailureAnalyzer` implementation.
2727

2828

2929

0 commit comments

Comments
 (0)