+ removed unneeded method (one less item off the stack)

This commit is contained in:
Costin Leau 2009-08-06 22:50:13 +00:00
parent af6275a56e
commit 14e983ff9a
1 changed files with 1 additions and 7 deletions

View File

@ -205,12 +205,6 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
return doGetBean(name, requiredType, args, false);
}
protected <T> T doGetBean(
final String name, final Class<T> 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> T doGetBeanRaw(
private <T> T doGetBean(
final String name, final Class<T> requiredType, final Object[] args, boolean typeCheckOnly)
throws BeansException {