Browse Source

Adapt Javadoc note about log level of BeanPostProcessorChecker

See gh-33617
pull/33720/head
Asi Bross 1 year ago committed by Stéphane Nicoll
parent
commit
6da32b4631
  1. 2
      spring-context/src/main/java/org/springframework/context/support/PostProcessorRegistrationDelegate.java

2
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;

Loading…
Cancel
Save