提交 463b3fff 编写于 作者: O Oliver Gondža

Merge pull request #1662 from deadmoose/override_varargs

Match the overriden method's actual varargs signature.
......@@ -327,7 +327,7 @@ public class BeanBuilder extends GroovyObjectSupport {
public void loadBeans(Resource[] resources) throws IOException {
Closure beans = new Closure(this){
@Override
public Object call(Object[] args) {
public Object call(Object... args) {
return beans((Closure)args[0]);
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册