Skip to content

Commit 29fa9c1

Browse files
committed
Polish contribution
See gh-27034
1 parent 3966071 commit 29fa9c1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/BeanFactory.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -84,15 +84,15 @@
8484
* (only applicable when running in a web application context)
8585
* <li>{@code postProcessBeforeInitialization} methods of BeanPostProcessors
8686
* <li>InitializingBean's {@code afterPropertiesSet}
87-
* <li>a custom init-method definition
87+
* <li>a custom {@code init-method} definition
8888
* <li>{@code postProcessAfterInitialization} methods of BeanPostProcessors
8989
* </ol>
9090
*
9191
* <p>On shutdown of a bean factory, the following lifecycle methods apply:
9292
* <ol>
9393
* <li>{@code postProcessBeforeDestruction} methods of DestructionAwareBeanPostProcessors
9494
* <li>DisposableBean's {@code destroy}
95-
* <li>a custom destroy-method definition
95+
* <li>a custom {@code destroy-method} definition
9696
* </ol>
9797
*
9898
* @author Rod Johnson
@@ -102,9 +102,9 @@
102102
* @see BeanNameAware#setBeanName
103103
* @see BeanClassLoaderAware#setBeanClassLoader
104104
* @see BeanFactoryAware#setBeanFactory
105-
* @see org.springframework.context.ResourceLoaderAware#setResourceLoader
106105
* @see org.springframework.context.EnvironmentAware#setEnvironment
107106
* @see org.springframework.context.EmbeddedValueResolverAware#setEmbeddedValueResolver
107+
* @see org.springframework.context.ResourceLoaderAware#setResourceLoader
108108
* @see org.springframework.context.ApplicationEventPublisherAware#setApplicationEventPublisher
109109
* @see org.springframework.context.MessageSourceAware#setMessageSource
110110
* @see org.springframework.context.ApplicationContextAware#setApplicationContext
@@ -113,6 +113,7 @@
113113
* @see InitializingBean#afterPropertiesSet
114114
* @see org.springframework.beans.factory.support.RootBeanDefinition#getInitMethodName
115115
* @see org.springframework.beans.factory.config.BeanPostProcessor#postProcessAfterInitialization
116+
* @see org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor#postProcessBeforeDestruction
116117
* @see DisposableBean#destroy
117118
* @see org.springframework.beans.factory.support.RootBeanDefinition#getDestroyMethodName
118119
*/

0 commit comments

Comments
 (0)