From 20865089249660effbdd4262affe11065a576186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Thu, 2 Apr 2026 14:41:26 +0200 Subject: [PATCH] Polish See gh-36581 --- .../org/springframework/beans/factory/BeanRegistrar.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/BeanRegistrar.java b/spring-beans/src/main/java/org/springframework/beans/factory/BeanRegistrar.java index 41d92a4cf93..db73cd8b85f 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/BeanRegistrar.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/BeanRegistrar.java @@ -82,9 +82,9 @@ import org.springframework.core.env.Environment; *

This mode is primarily intended for fully programmatic application context setups. * Registrars applied this way are invoked before any {@code @Configuration} class is * processed. They can therefore observe beans registered programmatically (e.g., via - * {@link org.springframework.context.support.GenericApplicationContext#registerBean(String, Class, Object...)}), - * but will not see any beans defined in {@code @Configuration} classes - * also registered with the context. + * one of the {@code GenericApplicationContext#registerBean} methods), but will + * not see any beans defined in {@code @Configuration} classes also + * registered with the context. * *

A {@code BeanRegistrar} implementing {@link org.springframework.context.annotation.ImportAware} * can optionally introspect import metadata when used in an import scenario; otherwise