+ removed unneeded method (one less item off the stack)
This commit is contained in:
parent
af6275a56e
commit
14e983ff9a
|
|
@ -205,12 +205,6 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
|
||||||
return doGetBean(name, requiredType, args, false);
|
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.
|
* Return an instance, which may be shared or independent, of the specified bean.
|
||||||
* @param name the name of the bean to retrieve
|
* @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
|
* @throws BeansException if the bean could not be created
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
private <T> T doGetBeanRaw(
|
private <T> T doGetBean(
|
||||||
final String name, final Class<T> requiredType, final Object[] args, boolean typeCheckOnly)
|
final String name, final Class<T> requiredType, final Object[] args, boolean typeCheckOnly)
|
||||||
throws BeansException {
|
throws BeansException {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue