Fix Javadoc warnings

Change-Id: If6ced93d6fc91c1b6fc8381b26fde9434de6d7c8
diff --git a/core/api/src/main/java/org/onosproject/net/newresource/ResourcePath.java b/core/api/src/main/java/org/onosproject/net/newresource/ResourcePath.java
index d87682a..ea94955 100644
--- a/core/api/src/main/java/org/onosproject/net/newresource/ResourcePath.java
+++ b/core/api/src/main/java/org/onosproject/net/newresource/ResourcePath.java
@@ -56,6 +56,7 @@
      * Creates an resource path which represents a discrete-type resource from the specified components.
      *
      * @param components components of the path. The order represents hierarchical structure of the resource.
+     * @return resource path instance
      */
     public static ResourcePath discrete(Object... components) {
         if (components.length == 0) {
@@ -70,6 +71,7 @@
      *
      * @param value amount of the resource
      * @param components components of the path. The order represents hierarchical structure of the resource.
+     * @return resource path instance
      */
     public static ResourcePath continuous(double value, Object... components) {
         return new Continuous(ImmutableList.copyOf(components), value);