Change signatures to make use of Java 5 varargs

Issues: SWF-1532
This commit is contained in:
Phillip Webb
2012-04-05 16:23:38 -07:00
parent 53384adca9
commit 54a300e009
23 changed files with 39 additions and 39 deletions

View File

@@ -83,7 +83,7 @@ public class FlowActionListenerTests extends TestCase {
return String.class;
}
public Object invoke(FacesContext context, Object[] args) throws EvaluationException, MethodNotFoundException {
public Object invoke(FacesContext context, Object... args) throws EvaluationException, MethodNotFoundException {
return this.result;
}

View File

@@ -141,7 +141,7 @@ public class MockApplication extends Application {
return null;
}
public MethodBinding createMethodBinding(String ref, Class<?>[] params) throws ReferenceSyntaxException {
public MethodBinding createMethodBinding(String ref, Class<?>... params) throws ReferenceSyntaxException {
return null;
}