diff options
author | Shawn O. Pearce <sop@google.com> | 2009-12-12 18:51:49 -0800 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-12-12 19:30:24 -0800 |
commit | d223e91ec36b709d10ef9870c32b3ee41efbbbbc (patch) | |
tree | 223ad75542fad2c04887c4fcb1b98128eaa38eb3 | |
parent | 649754f0484a6461da975504415326b23ab2bc97 (diff) | |
download | gwtjsonrpc-d223e91ec36b709d10ef9870c32b3ee41efbbbbc.tar.gz |
Fix unnecessary trailing whitespace in javadoc comments
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r-- | src/main/java/com/google/gwtjsonrpc/server/ActiveCall.java | 20 | ||||
-rw-r--r-- | src/main/java/com/google/gwtjsonrpc/server/JsonServlet.java | 14 |
2 files changed, 17 insertions, 17 deletions
diff --git a/src/main/java/com/google/gwtjsonrpc/server/ActiveCall.java b/src/main/java/com/google/gwtjsonrpc/server/ActiveCall.java index d2f9a48..6f3ab68 100644 --- a/src/main/java/com/google/gwtjsonrpc/server/ActiveCall.java +++ b/src/main/java/com/google/gwtjsonrpc/server/ActiveCall.java @@ -44,7 +44,7 @@ public class ActiveCall implements AsyncCallback<Object> { /** * Create a new call. - * + * * @param req the request. * @param resp the response. */ @@ -55,7 +55,7 @@ public class ActiveCall implements AsyncCallback<Object> { /** * Get the HTTP request that is attempting this RPC call. - * + * * @return the original servlet HTTP request. */ public HttpServletRequest getHttpServletRequest() { @@ -64,7 +64,7 @@ public class ActiveCall implements AsyncCallback<Object> { /** * Get the HTTP response that will be returned from this call. - * + * * @return the original servlet HTTP response. */ public HttpServletResponse getHttpServletResponse() { @@ -73,7 +73,7 @@ public class ActiveCall implements AsyncCallback<Object> { /** * Get the value of a cookie. - * + * * @param name the name of the cookie. * @return the cookie's value; or null. */ @@ -92,7 +92,7 @@ public class ActiveCall implements AsyncCallback<Object> { /** * Get the value of a cookie, verifying its signature. - * + * * @param name the name of the cookie. * @return the cookie's value; or null. */ @@ -117,7 +117,7 @@ public class ActiveCall implements AsyncCallback<Object> { * Set the value of a cookie. * <p> * The cookie is scope to the context path used by this web application. - * + * * @param name name of the cookie. * @param value the value of the cookie. * @param age the age (in seconds) before it expires. @@ -134,7 +134,7 @@ public class ActiveCall implements AsyncCallback<Object> { * <p> * The cookie value is actually set to the signed token which both includes * (and protects via an HMAC signature) <code>value</code>.s - * + * * @param name name of the cookie. * @param value the data value of the cookie. * @param sig a signature to protect the cookie value. @@ -153,7 +153,7 @@ public class ActiveCall implements AsyncCallback<Object> { * By default this method uses <code>getRemoteUser()</code>. Services may * override this method to acquire a different property of the request, such * as data from an HTTP cookie or an extended HTTP header. - * + * * @return the user identity; null if the user is anonymous. */ public String getUser() { @@ -162,7 +162,7 @@ public class ActiveCall implements AsyncCallback<Object> { /** * Get the method this request is asking to invoke. - * + * * @return the requested method handle. */ public MethodHandle getMethod() { @@ -171,7 +171,7 @@ public class ActiveCall implements AsyncCallback<Object> { /** * Get the actual parameter values to be supplied to the method. - * + * * @return the parameter array; never null but may be 0-length if the method * takes no parameters. */ diff --git a/src/main/java/com/google/gwtjsonrpc/server/JsonServlet.java b/src/main/java/com/google/gwtjsonrpc/server/JsonServlet.java index a0ea667..d679e27 100644 --- a/src/main/java/com/google/gwtjsonrpc/server/JsonServlet.java +++ b/src/main/java/com/google/gwtjsonrpc/server/JsonServlet.java @@ -141,7 +141,7 @@ public abstract class JsonServlet<CallType extends ActiveCall> extends /** * Get the object which provides the RemoteJsonService implementation. - * + * * @return by default <code>this</code>, but any object which implements a * RemoteJsonService interface. * @throws Exception any error indicating the service is not configured. @@ -156,7 +156,7 @@ public abstract class JsonServlet<CallType extends ActiveCall> extends * By default this method creates a unique XSRF key for this service. Service * implementors may wish to override this method to use a pooled instance that * relies upon a stable private key. - * + * * @return new XSRF implementation. Null if the caller has overridden all * relevant XSRF methods and is implementing their own XSRF protection * algorithm. @@ -176,7 +176,7 @@ public abstract class JsonServlet<CallType extends ActiveCall> extends * <p> * By default this method validates the token, and refreshes it with a new * token for the currently authenticated user. - * + * * @param call current RPC being processed. * @return true if the token was supplied and is valid; false otherwise. * @throws XsrfException the token could not be validated due to an error that @@ -188,7 +188,7 @@ public abstract class JsonServlet<CallType extends ActiveCall> extends /** * Lookup a method implemented by this servlet. - * + * * @param methodName name of the method. * @return the method handle; null if the method is not declared. */ @@ -198,7 +198,7 @@ public abstract class JsonServlet<CallType extends ActiveCall> extends /** * Create a new call structure for the active HTTP request. - * + * * @param req the incoming request. * @param resp the response to return to the client. * @return the new call wrapping both. @@ -224,7 +224,7 @@ public abstract class JsonServlet<CallType extends ActiveCall> extends * Subclasses may override this method to perform additional checks, such as * per-method application level security validation. An override of this * method should take the following form: - * + * * <pre> * protected void preInvoke(final CallType call) { * super.preInvoke(call); @@ -239,7 +239,7 @@ public abstract class JsonServlet<CallType extends ActiveCall> extends * {@link ActiveCall#onInternalFailure(Throwable)} method is invoked with a * non-null exception argument the method call itself will be bypassed and the * error response will be returned to the client instead. - * + * * @param call the current call information. */ protected void preInvoke(final CallType call) { |