Browse Source

Merge pull request #33617 from asibross

* pr/33617:
  Polish "Adapt Javadoc note about log level of BeanPostProcessorChecker"
  Adapt Javadoc note about log level of BeanPostProcessorChecker

Closes gh-33617
pull/33720/head
Stéphane Nicoll 1 year ago
parent
commit
f991c19b30
  1. 4
      spring-context/src/main/java/org/springframework/context/support/PostProcessorRegistrationDelegate.java

4
spring-context/src/main/java/org/springframework/context/support/PostProcessorRegistrationDelegate.java

@ -226,7 +226,7 @@ final class PostProcessorRegistrationDelegate { @@ -226,7 +226,7 @@ final class PostProcessorRegistrationDelegate {
String[] postProcessorNames = beanFactory.getBeanNamesForType(BeanPostProcessor.class, true, false);
// Register BeanPostProcessorChecker that logs an info message when
// Register BeanPostProcessorChecker that logs a warn message when
// a bean is created during BeanPostProcessor instantiation, i.e. when
// a bean is not eligible for getting processed by all BeanPostProcessors.
int beanProcessorTargetCount = beanFactory.getBeanPostProcessorCount() + 1 + postProcessorNames.length;
@ -384,7 +384,7 @@ final class PostProcessorRegistrationDelegate { @@ -384,7 +384,7 @@ final class PostProcessorRegistrationDelegate {
/**
* BeanPostProcessor that logs an info message when a bean is created during
* BeanPostProcessor that logs a warn message when a bean is created during
* BeanPostProcessor instantiation, i.e. when a bean is not eligible for
* getting processed by all BeanPostProcessors.
*/

Loading…
Cancel
Save