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:
Shawn Pearce
2014-03-24 12:19:33 -07:00
parent 4e3db18a7d
commit 200deae3cf
2 changed files with 2 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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);
}
}