aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-05-13 09:21:39 -0700
committerShawn O. Pearce <sop@google.com>2009-05-13 09:21:39 -0700
commit1dc19c55e05918cf82d88493dafc21b29a3ee7c2 (patch)
tree660e3d53c9ccd1282a3e5efd2f00402c3f7ae36a
parent479473f40fbceb326eca3b46ef2957b71405cdd4 (diff)
downloadgwtjsonrpc-1dc19c55e05918cf82d88493dafc21b29a3ee7c2.tar.gz
Fix Javadoc warnings related to unqualified type references
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r--src/main/java/com/google/gwtjsonrpc/client/RemoteJsonException.java8
-rw-r--r--src/main/java/com/google/gwtjsonrpc/client/RemoteJsonService.java2
-rw-r--r--src/main/java/com/google/gwtjsonrpc/client/ServerUnavailableException.java2
-rw-r--r--src/main/java/com/google/gwtjsonrpc/rebind/RemoteJsonServiceProxyGenerator.java2
-rw-r--r--src/main/java/com/google/gwtjsonrpc/server/MethodHandle.java4
5 files changed, 8 insertions, 10 deletions
diff --git a/src/main/java/com/google/gwtjsonrpc/client/RemoteJsonException.java b/src/main/java/com/google/gwtjsonrpc/client/RemoteJsonException.java
index 0045461..4a7592f 100644
--- a/src/main/java/com/google/gwtjsonrpc/client/RemoteJsonException.java
+++ b/src/main/java/com/google/gwtjsonrpc/client/RemoteJsonException.java
@@ -17,7 +17,7 @@ package com.google.gwtjsonrpc.client;
import com.google.gwt.json.client.JSONValue;
/**
- * Exception given to {@link AsyncCallback#onFailure(Throwable)}.
+ * Exception given to {@link com.google.gwt.user.client.rpc.AsyncCallback#onFailure(Throwable)}.
* <p>
* This exception is used if the remote JSON server has returned a well-formed
* JSON error response.
@@ -32,8 +32,7 @@ public class RemoteJsonException extends Exception {
* @param message A String value that provides a short description of the
* error.
* @param code A number that indicates the actual error that occurred.
- * @param error A {@link JSONNull}, {@link JSONNumber}, {@link JSONString} or
- * {@link JSONObject} value that carries custom and
+ * @param error A JSON value instance that carries custom and
* application-specific error information.
*/
public RemoteJsonException(final String message, int code, JSONValue error) {
@@ -61,8 +60,7 @@ public class RemoteJsonException extends Exception {
* Gets the extra error information.
*
* @return <code>null</code> if no error information was specified by the
- * server, or a {@link JSONNull}, {@link JSONNumber},
- * {@link JSONString} or {@link JSONObject} value.
+ * server, or value.
*/
public JSONValue getError() {
return error;
diff --git a/src/main/java/com/google/gwtjsonrpc/client/RemoteJsonService.java b/src/main/java/com/google/gwtjsonrpc/client/RemoteJsonService.java
index 21afeb5..ff2c250 100644
--- a/src/main/java/com/google/gwtjsonrpc/client/RemoteJsonService.java
+++ b/src/main/java/com/google/gwtjsonrpc/client/RemoteJsonService.java
@@ -24,7 +24,7 @@ package com.google.gwtjsonrpc.client;
* public interface FooService extends RemoteJsonService ...
* </pre>
* <p>
- * and declare each method as returning void and accepting {@link AsyncCallback}
+ * and declare each method as returning void and accepting {@link com.google.gwt.user.client.rpc.AsyncCallback}
* as the final parameter, with a concrete type specified as the result type:
*
* <pre>
diff --git a/src/main/java/com/google/gwtjsonrpc/client/ServerUnavailableException.java b/src/main/java/com/google/gwtjsonrpc/client/ServerUnavailableException.java
index f5338f8..0f692e9 100644
--- a/src/main/java/com/google/gwtjsonrpc/client/ServerUnavailableException.java
+++ b/src/main/java/com/google/gwtjsonrpc/client/ServerUnavailableException.java
@@ -18,7 +18,7 @@ package com.google.gwtjsonrpc.client;
/**
* Indicates the remote JSON server is not available.
* <p>
- * Usually supplied to {@link AsyncCallback#onFailure(Throwable)} when the
+ * Usually supplied to {@link com.google.gwt.user.client.rpc.AsyncCallback#onFailure(Throwable)} when the
* remote host isn't answering, such as if the HTTP server is restarting and has
* temporarily stopped accepting new connections.
*/
diff --git a/src/main/java/com/google/gwtjsonrpc/rebind/RemoteJsonServiceProxyGenerator.java b/src/main/java/com/google/gwtjsonrpc/rebind/RemoteJsonServiceProxyGenerator.java
index 40e337b..f16b4d2 100644
--- a/src/main/java/com/google/gwtjsonrpc/rebind/RemoteJsonServiceProxyGenerator.java
+++ b/src/main/java/com/google/gwtjsonrpc/rebind/RemoteJsonServiceProxyGenerator.java
@@ -22,7 +22,7 @@ import com.google.gwt.core.ext.typeinfo.JClassType;
import com.google.gwt.core.ext.typeinfo.TypeOracle;
/**
- * Generates proxy implementations of {@link RemoteJsonService}.
+ * Generates proxy implementations of {@link com.google.gwtjsonrpc.client.RemoteJsonService}.
*/
public class RemoteJsonServiceProxyGenerator extends Generator {
@Override
diff --git a/src/main/java/com/google/gwtjsonrpc/server/MethodHandle.java b/src/main/java/com/google/gwtjsonrpc/server/MethodHandle.java
index 0ab4a76..247a6fc 100644
--- a/src/main/java/com/google/gwtjsonrpc/server/MethodHandle.java
+++ b/src/main/java/com/google/gwtjsonrpc/server/MethodHandle.java
@@ -36,8 +36,8 @@ public class MethodHandle {
*
* @param imp instance of the service all calls will be made on.
* @param method Java method to invoke on <code>imp</code>. The last parameter
- * of the method must accept an {@link AsyncCallback} and the method
- * must return void.
+ * of the method must accept an {@link com.google.gwt.user.client.rpc.AsyncCallback}
+ * and the method must return void.
*/
MethodHandle(final RemoteJsonService imp, final Method method) {
this.imp = imp;