Cleanup documentation warning in RcsRemoteResourceObject.java
authorGeorge Nash <george.nash@intel.com>
Mon, 9 Jan 2017 22:59:58 +0000 (14:59 -0800)
committerRick Bell <richard.s.bell@intel.com>
Tue, 10 Jan 2017 22:30:52 +0000 (22:30 +0000)
Change-Id: Ie619373ac2b6e6f3a887509e711f8ccf9e92b6e3
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16269
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
service/resource-encapsulation/android/service/src/main/java/org/iotivity/service/client/RcsRemoteResourceObject.java

index df13696..00b20fb 100644 (file)
@@ -166,8 +166,8 @@ public final class RcsRemoteResourceObject extends RcsObject {
          * Called when a response for the getRemoteAttributes request or
          * setRemoteAttributes request is received.
          *
-         * @param attributes
-         *            the resource attributes received from the remote resource
+         * @param attributes the resource attributes received from the remote resource
+         * @param errorCode error code if there was a failure with the attributes request
          *
          */
         public void onAttributesReceived(RcsResourceAttributes attributes,
@@ -508,12 +508,15 @@ public final class RcsRemoteResourceObject extends RcsObject {
 
     /**
      * Sends a set request with resource attributes to the resource.
-     * <p>
+     *
      * The SetRequest behavior depends on the server, whether updating its
      * attributes or not.
      *
      * @param attributes
      *            attributes to set for the remote resource.
+     * @param listener
+     *            OnRemoteAttributesReceivedListener that is called when the set
+     *            remote attributes has completed 
      *
      * @throws NullPointerException
      *             if attributes or listener is null