Skip to content

Commit 0aeb306

Browse files
committed
Merge pull request #1112 from fisache:master
* pr/1112: Polish contribution Polish Javadoc
2 parents dd65f7a + bfa48d5 commit 0aeb306

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2016 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.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2011 the original author or authors.
2+
* Copyright 2002-2016 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.
@@ -19,7 +19,7 @@
1919
/**
2020
* Interface to be implemented by beans that want to be aware of their
2121
* bean name in a bean factory. Note that it is not usually recommended
22-
* that an object depend on its bean name, as this represents a potentially
22+
* that an object depends on its bean name, as this represents a potentially
2323
* brittle dependence on external configuration, as well as a possibly
2424
* unnecessary dependence on a Spring API.
2525
*

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2016 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.
@@ -24,7 +24,8 @@
2424
*
2525
* <p>An alternative to implementing DisposableBean is specifying a custom
2626
* destroy-method, for example in an XML bean definition.
27-
* For a list of all bean lifecycle methods, see the BeanFactory javadocs.
27+
* For a list of all bean lifecycle methods, see the
28+
* {@link BeanFactory BeanFactory javadocs}.
2829
*
2930
* @author Juergen Hoeller
3031
* @since 12.08.2003

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* <p><b>NB: A bean that implements this interface cannot be used as a
2626
* normal bean.</b> A FactoryBean is defined in a bean style, but the
27-
* object exposed for bean references ({@link #getObject()} is always
27+
* object exposed for bean references ({@link #getObject()}) is always
2828
* the object that it creates.
2929
*
3030
* <p>FactoryBeans can support singletons and prototypes, and can

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2016 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.
@@ -23,7 +23,8 @@
2323
*
2424
* <p>An alternative to implementing InitializingBean is specifying a custom
2525
* init-method, for example in an XML bean definition.
26-
* For a list of all bean lifecycle methods, see the BeanFactory javadocs.
26+
* For a list of all bean lifecycle methods, see the
27+
* {@link BeanFactory BeanFactory javadocs}.
2728
*
2829
* @author Rod Johnson
2930
* @see BeanNameAware

0 commit comments

Comments
 (0)