From cf687fcc72a84ec090b170f39d5ec016c5017fdb Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 12 Apr 2013 14:21:24 +0200 Subject: [PATCH] Fix typos in ServiceLocatorFactoryBean --- .../factory/config/ServiceLocatorFactoryBean.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBean.java b/spring-beans/src/main/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBean.java index 1ded4154aa..e6b143a1ef 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBean.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBean.java @@ -65,17 +65,17 @@ import org.springframework.util.StringUtils; * int or a custom enumeration type, for example, stringified via * {@code toString}. The resulting String can be used as bean name as-is, * provided that corresponding beans are defined in the bean factory. - * Alternatively, {@link #setServiceMappings(java.util.Properties) a custom mapping} - * between service ids and bean names can be defined. + * Alternatively, {@linkplain #setServiceMappings(java.util.Properties) a custom + * mapping} between service IDs and bean names can be defined. * *

By way of an example, consider the following service locator interface. - * Note that this interface is not dependant on any Spring APIs. + * Note that this interface is not dependent on any Spring APIs. * *

package a.b.c;
  *
  *public interface ServiceFactory {
  *
- *    public MyService getService ();
+ *    public MyService getService();
  *}
* *

A sample config in an XML-based @@ -121,7 +121,7 @@ import org.springframework.util.StringUtils; * *

By way of an example that looks up a bean by name, consider * the following service locator interface. Again, note that this - * interface is not dependant on any Spring APIs. + * interface is not dependent on any Spring APIs. * *

package a.b.c;
  *