Fix javadoc warnings 28/91828/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 3 Aug 2020 16:40:41 +0000 (18:40 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 3 Aug 2020 16:40:55 +0000 (18:40 +0200)
We have a number of warnings, fix them up.

Change-Id: I19525f5fb2b2f468fc74cef0ab4311d5ab95065d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/api/JSONRestconfService.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/ParserIdentifierTest.java

index aa5ff1554057872bef0a1345d4d23f03a00c7db1..35b5f4012ab99cafd34c05783e41fae968eaa45c 100644 (file)
@@ -27,7 +27,7 @@ public interface JSONRestconfService {
      * Issues a restconf PUT request to the configuration data store.
      *
      * @param uriPath the yang instance identifier path, eg "opendaylight-inventory:nodes/node/device-id".
-     *       To specify the root, use {@link ROOT_PATH}.
+     *       To specify the root, use {@link #ROOT_PATH}.
      * @param payload the payload data in JSON format.
      * @throws OperationFailedException if the request fails.
      */
@@ -37,7 +37,7 @@ public interface JSONRestconfService {
      * Issues a restconf POST request to the configuration data store.
      *
      * @param uriPath the yang instance identifier path, eg "opendaylight-inventory:nodes/node/device-id".
-     *       To specify the root, use {@link ROOT_PATH}.
+     *       To specify the root, use {@link #ROOT_PATH}.
      * @param payload the payload data in JSON format.
      * @throws OperationFailedException if the request fails.
      */
@@ -47,7 +47,7 @@ public interface JSONRestconfService {
      * Issues a restconf DELETE request to the configuration data store.
      *
      * @param uriPath the yang instance identifier path, eg "opendaylight-inventory:nodes/node/device-id".
-     *       To specify the root, use {@link ROOT_PATH}.
+     *       To specify the root, use {@link #ROOT_PATH}.
      * @throws OperationFailedException if the request fails.
      */
     void delete(String uriPath) throws OperationFailedException;
@@ -56,7 +56,7 @@ public interface JSONRestconfService {
      * Issues a restconf GET request to the given data store.
      *
      * @param uriPath the yang instance identifier path, eg "opendaylight-inventory:nodes/node/device-id".
-     *       To specify the root, use {@link ROOT_PATH}.
+     *       To specify the root, use {@link #ROOT_PATH}.
      * @param datastoreType the data store type to read from.
      * @return an Optional containing the data in JSON format if present.
      * @throws OperationFailedException if the request fails.
@@ -78,7 +78,7 @@ public interface JSONRestconfService {
      * Issues a restconf PATCH request to the configuration data store.
      *
      * @param uriPath the yang instance identifier path, eg "opendaylight-inventory:nodes/node/device-id".
-     *       To specify the root, use {@link ROOT_PATH}.
+     *       To specify the root, use {@link #ROOT_PATH}.
      * @param payload the payload data in JSON format.
      * @return an Optional containing the patch response data in JSON format.
      * @throws OperationFailedException if the request fails.
index b7d2d3cfdb28ca54055aa88b62331e9fe6678bfc..885571ac820a8cbbeaf9c7d2267200f5b7d02257 100644 (file)
@@ -190,7 +190,7 @@ public class ParserIdentifierTest {
 
     /**
      * Test of creating <code>InstanceIdentifierContext</code> when identifier is <code>null</code>.
-     * <code>{@link YangInstanceIdentifier#EMPTY}</code> should be returned.
+     * <code>{@link YangInstanceIdentifier#empty()}</code> should be returned.
      */
     @Test
     public void toInstanceIdentifierNullIdentifierTest() {