Cleanup the change list service binding code
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
package com.google.gerrit.client.changes;
|
package com.google.gerrit.client.changes;
|
||||||
|
|
||||||
import com.google.gwt.core.client.GWT;
|
import com.google.gwt.core.client.GWT;
|
||||||
import com.google.gwt.user.client.rpc.ServiceDefTarget;
|
import com.google.gwtjsonrpc.client.JsonUtil;
|
||||||
|
|
||||||
public class Util {
|
public class Util {
|
||||||
public static final ChangeConstants C = GWT.create(ChangeConstants.class);
|
public static final ChangeConstants C = GWT.create(ChangeConstants.class);
|
||||||
@@ -25,7 +25,6 @@ public class Util {
|
|||||||
|
|
||||||
static {
|
static {
|
||||||
LIST_SVC = GWT.create(ChangeListService.class);
|
LIST_SVC = GWT.create(ChangeListService.class);
|
||||||
((ServiceDefTarget) LIST_SVC).setServiceEntryPoint(GWT.getModuleBaseURL()
|
JsonUtil.bind(LIST_SVC, "rpc/ChangeListService");
|
||||||
+ "rpc/ChangeListService");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user