Cleanup documentation warning in RcsGetResponse.java
authorGeorge Nash <george.nash@intel.com>
Mon, 9 Jan 2017 23:30:01 +0000 (15:30 -0800)
committerRick Bell <richard.s.bell@intel.com>
Tue, 10 Jan 2017 16:40:47 +0000 (16:40 +0000)
Change-Id: I52bf4cc5f4a71ddb578ecee794f41df3ceb0c9fe
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16271
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
service/resource-encapsulation/android/service/src/main/java/org/iotivity/service/server/RcsGetResponse.java

index 96dcd24..19a62a4 100644 (file)
@@ -31,10 +31,10 @@ import org.iotivity.service.RcsResourceAttributes;
 public class RcsGetResponse extends RcsResponse {
 
     /**
-     * Creates a default RCcsGetResponse. The response will have
+     * Creates a default RcsGetResponse. The response will have
      * {@link #DEFAULT_ERROR_CODE} for the errorCode. The attributes of
      * {@link RcsResourceObject} will be set as the result attributes.
-     *
+     * @return The default RcsGetResponse
      */
     public static RcsGetResponse defaultAction() {
         return new RcsGetResponse();
@@ -47,6 +47,7 @@ public class RcsGetResponse extends RcsResponse {
      *
      * @param errorCode
      *            error code to be set in response
+     * @return The created RcsGetResponse
      *
      */
     public static RcsGetResponse create(int errorCode) {
@@ -62,6 +63,7 @@ public class RcsGetResponse extends RcsResponse {
      *
      * @param attributes
      *            attributes to be sent as the result
+     * @return The created RcsGetResponse
      *
      */
     public static RcsGetResponse create(RcsResourceAttributes attributes) {
@@ -77,6 +79,7 @@ public class RcsGetResponse extends RcsResponse {
      *            attributes to be sent as the result
      * @param errorCode
      *            error code for response
+     * @return The created RcsGetResponse
      *
      */
     public static RcsGetResponse create(RcsResourceAttributes attributes,