aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Scholten <gscholt@gmail.com>2009-12-14 23:50:23 +0100
committerGert Scholten <gscholt@gmail.com>2009-12-14 23:50:23 +0100
commit2a4378f9e5533cfbb5dea3ad79f6763c9fdcc453 (patch)
tree30f17cd3e34b10d33a6bff7719ff211568d2134a
parent94c3d9573331a26b361b136c533ea975a97c163c (diff)
downloadgwtjsonrpc-2a4378f9e5533cfbb5dea3ad79f6763c9fdcc453.tar.gz
Code cleanup: Removed unused constructors from private member classes
Change-Id: I4d379aadf6ed25b4cb10957cb86b192f7dbec04f Signed-off-by: Gert Scholten <gscholt@gmail.com>
-rw-r--r--src/main/java/com/google/gwtjsonrpc/client/impl/v1_1/JsonCall11HttpPost.java6
-rw-r--r--src/main/java/com/google/gwtjsonrpc/client/impl/v2_0/JsonCall20.java6
2 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/com/google/gwtjsonrpc/client/impl/v1_1/JsonCall11HttpPost.java b/src/main/java/com/google/gwtjsonrpc/client/impl/v1_1/JsonCall11HttpPost.java
index fedb002..ff762b7 100644
--- a/src/main/java/com/google/gwtjsonrpc/client/impl/v1_1/JsonCall11HttpPost.java
+++ b/src/main/java/com/google/gwtjsonrpc/client/impl/v1_1/JsonCall11HttpPost.java
@@ -146,18 +146,12 @@ public class JsonCall11HttpPost<T> extends JsonCall<T> {
private static class RpcResult extends JavaScriptObject {
- protected RpcResult() {
- }
-
final native RpcError error()/*-{ return this.error; }-*/;
final native String xsrfKey()/*-{ return this.xsrfKey; }-*/;
}
private static class RpcError extends JavaScriptObject {
- protected RpcError() {
- }
-
final native String message()/*-{ return this.message; }-*/;
final native int code()/*-{ return this.code; }-*/;
diff --git a/src/main/java/com/google/gwtjsonrpc/client/impl/v2_0/JsonCall20.java b/src/main/java/com/google/gwtjsonrpc/client/impl/v2_0/JsonCall20.java
index 61b4ce4..4849c98 100644
--- a/src/main/java/com/google/gwtjsonrpc/client/impl/v2_0/JsonCall20.java
+++ b/src/main/java/com/google/gwtjsonrpc/client/impl/v2_0/JsonCall20.java
@@ -124,18 +124,12 @@ abstract class JsonCall20<T> extends JsonCall<T> {
private static class RpcResult extends JavaScriptObject {
- protected RpcResult() {
- }
-
final native RpcError error()/*-{ return this.error; }-*/;
final native String xsrfKey()/*-{ return this.xsrfKey; }-*/;
}
private static class RpcError extends JavaScriptObject {
- protected RpcError() {
- }
-
final native String message()/*-{ return this.message; }-*/;
final native int code()/*-{ return this.code; }-*/;