Skip to content

Commit 06b41bd

Browse files
committed
Merge branch '3.2.x'
Closes gh-39101
2 parents 946b73b + fe54801 commit 06b41bd

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

+1-1
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)