Change signatures to make use of Java 5 varargs
Issues: SWF-1532
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user