ONOS-2716: Handle duplicate registration in resource store

Change-Id: Ic46ad17359d76a23fa9d9c78afc4fc65a41d1dbc
diff --git a/core/api/src/main/java/org/onosproject/net/newresource/ResourceStore.java b/core/api/src/main/java/org/onosproject/net/newresource/ResourceStore.java
index cf22ef2..06788cb 100644
--- a/core/api/src/main/java/org/onosproject/net/newresource/ResourceStore.java
+++ b/core/api/src/main/java/org/onosproject/net/newresource/ResourceStore.java
@@ -15,7 +15,7 @@
     /**
      * Registers the resources in transactional way.
      * Resource registration is must be done before resource allocation. The state after completion
-     * of this method is all the resources are registered, or no resource is registered.
+     * of this method is all the resources are registered, or none of the given resources is registered.
      * The whole registration fails when any one of the resource can't be registered.
      *
      * @param resources resources to be registered