Rename DefaultActions.invokeProjectAction
Java can handle the change vs. project version of the invoke method using type signatures of the parameters. Change-Id: I89fdf3494c7300252ad1e6208f94b8cae1b8f8a7
This commit is contained in:
@@ -45,8 +45,7 @@ class DefaultActions {
|
||||
invoke(action, api, cb);
|
||||
}
|
||||
|
||||
static void invokeProjectAction(final Project.NameKey project,
|
||||
ActionInfo action, RestApi api) {
|
||||
static void invoke(final Project.NameKey project, ActionInfo action, RestApi api) {
|
||||
AsyncCallback<JavaScriptObject> cb = new GerritCallback<JavaScriptObject>() {
|
||||
@Override
|
||||
public void onSuccess(JavaScriptObject msg) {
|
||||
|
@@ -35,7 +35,7 @@ public class ProjectGlue {
|
||||
c.button(button);
|
||||
ApiGlue.invoke(f, c);
|
||||
} else {
|
||||
DefaultActions.invokeProjectAction(project, action, api);
|
||||
DefaultActions.invoke(project, action, api);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user