Skip to content

Commit 14e983f

Browse files
author
Costin Leau
committed
+ removed unneeded method (one less item off the stack)
1 parent af6275a commit 14e983f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

org.springframework.beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,6 @@ public <T> T getBean(String name, Class<T> requiredType, Object[] args) throws B
205205
return doGetBean(name, requiredType, args, false);
206206
}
207207

208-
protected <T> T doGetBean(
209-
final String name, final Class<T> requiredType, final Object[] args, final boolean typeCheckOnly)
210-
throws BeansException {
211-
212-
return doGetBeanRaw(name, requiredType, args, typeCheckOnly);
213-
}
214208
/**
215209
* Return an instance, which may be shared or independent, of the specified bean.
216210
* @param name the name of the bean to retrieve
@@ -223,7 +217,7 @@ protected <T> T doGetBean(
223217
* @throws BeansException if the bean could not be created
224218
*/
225219
@SuppressWarnings("unchecked")
226-
private <T> T doGetBeanRaw(
220+
private <T> T doGetBean(
227221
final String name, final Class<T> requiredType, final Object[] args, boolean typeCheckOnly)
228222
throws BeansException {
229223

0 commit comments

Comments
 (0)