Skip to content

Commit cf687fc

Browse files
committed
Fix typos in ServiceLocatorFactoryBean
1 parent db3bbb5 commit cf687fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@
6565
* int or a custom enumeration type, for example, stringified via
6666
* {@code toString}. The resulting String can be used as bean name as-is,
6767
* provided that corresponding beans are defined in the bean factory.
68-
* Alternatively, {@link #setServiceMappings(java.util.Properties) a custom mapping}
69-
* between service ids and bean names can be defined.
68+
* Alternatively, {@linkplain #setServiceMappings(java.util.Properties) a custom
69+
* mapping} between service IDs and bean names can be defined.
7070
*
7171
* <p>By way of an example, consider the following service locator interface.
72-
* Note that this interface is not dependant on any Spring APIs.
72+
* Note that this interface is not dependent on any Spring APIs.
7373
*
7474
* <pre class="code">package a.b.c;
7575
*
7676
*public interface ServiceFactory {
7777
*
78-
* public MyService getService ();
78+
* public MyService getService();
7979
*}</pre>
8080
*
8181
* <p>A sample config in an XML-based
@@ -121,7 +121,7 @@
121121
*
122122
* <p>By way of an example that looks up a bean <b>by name</b>, consider
123123
* the following service locator interface. Again, note that this
124-
* interface is not dependant on any Spring APIs.
124+
* interface is not dependent on any Spring APIs.
125125
*
126126
* <pre class="code">package a.b.c;
127127
*

0 commit comments

Comments
 (0)