consistently use varargs signature

This commit is contained in:
Juergen Hoeller
2009-09-17 10:24:56 +00:00
parent 87e939a4e9
commit 6f2642f2d3
2 changed files with 2 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ public class SimpleJndiBeanFactory extends JndiLocatorSupport implements BeanFac
}
}
public Object getBean(String name, Object[] args) throws BeansException {
public Object getBean(String name, Object... args) throws BeansException {
if (args != null) {
throw new UnsupportedOperationException(
"SimpleJndiBeanFactory does not support explicit bean creation arguments)");