Return singleton empty collection instead of null in Read service code
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / IInventoryShimInternalListener.java
index 6b328961fc40d4936314a5880fb7f1c1139b84fe..3c698b6ce3f928cec80554ff57229131ca8f1b19 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
  *
@@ -24,22 +23,32 @@ public interface IInventoryShimInternalListener {
     /**
      * Updates node and its properties
      *
-     * @param node                     {@link org.opendaylight.controller.sal.core.Node} being updated
-     * @param type             {@link org.opendaylight.controller.sal.core.UpdateType}
-     * @param props            set of {@link org.opendaylight.controller.sal.core.Property} such as
-     *                                                 {@link org.opendaylight.controller.sal.core.Description} and/or
-     *                                                 {@link org.opendaylight.controller.sal.core.Tier} etc.
+     * @param node
+     *            {@link org.opendaylight.controller.sal.core.Node} being
+     *            updated
+     * @param type
+     *            update type {@link org.opendaylight.controller.sal.core.UpdateType}
+     * @param props
+     *            set of {@link org.opendaylight.controller.sal.core.Property}
+     *            such as
+     *            {@link org.opendaylight.controller.sal.core.Description}
+     *            and/or {@link org.opendaylight.controller.sal.core.Tier} etc.
      */
     public void updateNode(Node node, UpdateType type, Set<Property> props);
 
     /**
      * Updates node connector and its properties
      *
-     * @param nodeConnector    {@link org.opendaylight.controller.sal.core.NodeConnector} being updated
-     * @param type             {@link org.opendaylight.controller.sal.core.UpdateType}
-     * @param props            set of {@link org.opendaylight.controller.sal.core.Property} such as
-     *                                                 {@link org.opendaylight.controller.sal.core.Description} and/or
-     *                                                 {@link org.opendaylight.controller.sal.core.State} etc.
+     * @param nodeConnector
+     *            {@link org.opendaylight.controller.sal.core.NodeConnector}
+     *            being updated
+     * @param type
+     *            update type {@link org.opendaylight.controller.sal.core.UpdateType}
+     * @param props
+     *            set of {@link org.opendaylight.controller.sal.core.Property}
+     *            such as
+     *            {@link org.opendaylight.controller.sal.core.Description}
+     *            and/or {@link org.opendaylight.controller.sal.core.State} etc.
      */
     public void updateNodeConnector(NodeConnector nodeConnector,
             UpdateType type, Set<Property> props);