diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/support/AutowireUtils.java b/spring-beans/src/main/java/org/springframework/beans/factory/support/AutowireUtils.java index d2d7577640..7357b4fded 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/support/AutowireUtils.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/support/AutowireUtils.java @@ -36,8 +36,8 @@ import org.springframework.util.Assert; import org.springframework.util.ClassUtils; /** - * Utility class that contains various methods useful for - * the implementation of autowire-capable bean factories. + * Utility class that contains various methods useful for the implementation of + * autowire-capable bean factories. * * @author Juergen Hoeller * @author Mark Fisher @@ -161,9 +161,9 @@ abstract class AutowireUtils { * generic factory method, where formal type variables are declared * on the given method itself. *
For example, given a factory method with the following signature, - * if {@code resolveReturnTypeForGenericMethod()} is invoked with the reflected + * if {@code resolveReturnTypeForFactoryMethod()} is invoked with the reflected * method for {@code creatProxy()} and an {@code Object[]} array containing - * {@code MyService.class}, {@code resolveReturnTypeForGenericMethod()} will + * {@code MyService.class}, {@code resolveReturnTypeForFactoryMethod()} will * infer that the target return type is {@code MyService}. *
{@code public static T createProxy(Class clazz)}
*