Remove unused parameters
[netvirt.git] / sfc / translator / src / main / java / org / opendaylight / netvirt / sfc / translator / INeutronSfcDataProcessor.java
index 814d141629d939830dd56d5ade30efb750508ee6..2f561720f91f46551c32afc1759d481b71f37add 100644 (file)
@@ -9,7 +9,6 @@
 package org.opendaylight.netvirt.sfc.translator;
 
 import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 
 /**
  * Neutron SFC yang model processor.
@@ -19,28 +18,23 @@ public interface INeutronSfcDataProcessor<D extends DataObject> {
     /**
      * Method removes DataObject which is identified by InstanceIdentifier.
      *
-     * @param identifier - the whole path to DataObject
      * @param del - DataObject for removing
      */
-    void remove(InstanceIdentifier<D> identifier, D del);
+    void remove(D del);
 
     /**
      * Method updates the original DataObject to the update DataObject.
      * Both are identified by same InstanceIdentifier.
      *
-     * @param identifier - the whole path to DataObject
-     * @param original - original DataObject (for update)
-     * @param update - changed DataObject (contain updates)
-     */
-    void update(InstanceIdentifier<D> identifier, D original, D update);
+     * @param update - changed DataObject (contain updates)*/
+    void update(D update);
 
     /**
      * Method adds the DataObject which is identified by InstanceIdentifier
      * to device.
      *
-     * @param identifier - the whole path to new DataObject
      * @param add - new DataObject
      */
-    void add(InstanceIdentifier<D> identifier, D add);
+    void add(D add);
 
 }