diff --git a/org.springframework.beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java b/org.springframework.beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java index 69edb3cb2e8..99fecc32894 100644 --- a/org.springframework.beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java +++ b/org.springframework.beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java @@ -205,12 +205,6 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp return doGetBean(name, requiredType, args, false); } - protected T doGetBean( - final String name, final Class requiredType, final Object[] args, final boolean typeCheckOnly) - throws BeansException { - - return doGetBeanRaw(name, requiredType, args, typeCheckOnly); - } /** * Return an instance, which may be shared or independent, of the specified bean. * @param name the name of the bean to retrieve @@ -223,7 +217,7 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp * @throws BeansException if the bean could not be created */ @SuppressWarnings("unchecked") - private T doGetBeanRaw( + private T doGetBean( final String name, final Class requiredType, final Object[] args, boolean typeCheckOnly) throws BeansException {