polishing
This commit is contained in:
@@ -163,7 +163,7 @@ public interface BeanFactory {
|
||||
* @throws BeansException if the bean could not be created
|
||||
* @since 2.5
|
||||
*/
|
||||
Object getBean(String name, Object[] args) throws BeansException;
|
||||
Object getBean(String name, Object... args) throws BeansException;
|
||||
|
||||
/**
|
||||
* Does this bean factory contain a bean with the given name? More specifically,
|
||||
|
||||
@@ -179,7 +179,7 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
|
||||
return doGetBean(name, requiredType, null, false);
|
||||
}
|
||||
|
||||
public Object getBean(String name, Object[] args) throws BeansException {
|
||||
public Object getBean(String name, Object... args) throws BeansException {
|
||||
return doGetBean(name, null, args, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user