From 035ac8f3c8a8c733e616e79e9f4a4cecd4778efc Mon Sep 17 00:00:00 2001 From: Dariusz Luksza Date: Sat, 17 Nov 2012 05:20:19 +0100 Subject: [PATCH] Bump GWT version to 2.5.0 Additional minor changes to ChangesApi was required. This version bump could fix problems with IE9. Change-Id: I19af7125c696ef9a962f10260feb73c095d2b11d Signed-off-by: Dariusz Luksza --- .../java/com/google/gerrit/client/changes/ChangeApi.java | 4 ++-- gerrit-plugin-gwtui/pom.xml | 5 +++-- pom.xml | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeApi.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeApi.java index 10dac18c9e..bcd755f7b3 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeApi.java +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeApi.java @@ -25,7 +25,7 @@ import com.google.gwtjsonrpc.common.AsyncCallback; public class ChangeApi { private static final String URI = "/changes/"; - private static class Message extends JavaScriptObject { + protected static class Message extends JavaScriptObject { public final native void setMessage(String value) /*-{ this.message = value; }-*/; } @@ -36,7 +36,7 @@ public class ChangeApi { */ public static void abandon(int changeId, String message, AsyncCallback callback) { - Message msg = new Message(); + Message msg = (Message) JavaScriptObject.createObject(); msg.setMessage(message); new RestApi(URI + changeId + "/abandon").data(msg).post(callback); } diff --git a/gerrit-plugin-gwtui/pom.xml b/gerrit-plugin-gwtui/pom.xml index f5df326732..1460870557 100644 --- a/gerrit-plugin-gwtui/pom.xml +++ b/gerrit-plugin-gwtui/pom.xml @@ -58,7 +58,7 @@ limitations under the License. org.codehaus.mojo gwt-maven-plugin - [2.4.0,) + [2.5.0,) resources compile @@ -121,4 +121,5 @@ limitations under the License. - \ No newline at end of file + + diff --git a/pom.xml b/pom.xml index e482a2d720..1af26700b8 100644 --- a/pom.xml +++ b/pom.xml @@ -50,7 +50,7 @@ limitations under the License. 1.5 1.3 1.2.6 - 2.4.0 + 2.5.0 140 1.6.1 3.0 @@ -385,7 +385,7 @@ limitations under the License. org.codehaus.mojo gwt-maven-plugin - 2.4.0 + 2.5.0