Skip to content

Commit 15af0d9

Browse files
committed
Polishing
1 parent 2b974da commit 15af0d9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/config/AutowireCapableBeanFactory.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ void autowireBeanProperties(Object existingBean, int autowireMode, boolean depen
289289
* Apply {@link BeanPostProcessor BeanPostProcessors} to the given existing bean
290290
* instance, invoking their {@code postProcessBeforeInitialization} methods.
291291
* The returned bean instance may be a wrapper around the original.
292-
* @param existingBean the new bean instance
292+
* @param existingBean the existing bean instance
293+
* @param beanName the name of the bean, to be passed to it if necessary
293294
* (only passed to {@link BeanPostProcessor BeanPostProcessors};
294295
* can follow the {@link #ORIGINAL_INSTANCE_SUFFIX} convention in order to
295296
* enforce the given instance to be returned, i.e. no proxies etc)
@@ -305,7 +306,8 @@ Object applyBeanPostProcessorsBeforeInitialization(Object existingBean, String b
305306
* Apply {@link BeanPostProcessor BeanPostProcessors} to the given existing bean
306307
* instance, invoking their {@code postProcessAfterInitialization} methods.
307308
* The returned bean instance may be a wrapper around the original.
308-
* @param existingBean the new bean instance
309+
* @param existingBean the existing bean instance
310+
* @param beanName the name of the bean, to be passed to it if necessary
309311
* (only passed to {@link BeanPostProcessor BeanPostProcessors};
310312
* can follow the {@link #ORIGINAL_INSTANCE_SUFFIX} convention in order to
311313
* enforce the given instance to be returned, i.e. no proxies etc)

src/docs/asciidoc/web/webmvc.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ The following table lists the special beans detected by the `DispatcherServlet`:
229229
The mapping is based on some criteria, the details of which vary by `HandlerMapping`
230230
implementation.
231231

232-
The two main `HandlerMapping` implementations are `RequestMappingHandlerMapping`( which
233-
supports `@RequestMapping` annotated methods) and `SimpleUrlHandlerMapping` (which
234-
maintains explicit registrations of URI path patterns to handlers).
232+
The two main `HandlerMapping` implementations are `RequestMappingHandlerMapping`
233+
(which supports `@RequestMapping` annotated methods) and `SimpleUrlHandlerMapping`
234+
(which maintains explicit registrations of URI path patterns to handlers).
235235

236236
| `HandlerAdapter`
237237
| Help the `DispatcherServlet` to invoke a handler mapped to a request, regardless of

0 commit comments

Comments
 (0)