bug 6579 removed boilerplate code
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / java / org / opendaylight / ovsdb / hwvtepsouthbound / transact / PhysicalSwitchRemoveCommand.java
index e728135053fb0d810f230bdeeafc64d5e3d5185b..1f81f3b0403bba237c99aecf09b271e37f2b3cd7 100644 (file)
@@ -43,7 +43,7 @@ public class PhysicalSwitchRemoveCommand extends AbstractTransactCommand {
     @Override
     public void execute(TransactionBuilder transaction) {
         Map<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> removeds =
-                extractRemoved(getChanges(),PhysicalSwitchAugmentation.class);
+                extractRemovedSwitches(getChanges(),PhysicalSwitchAugmentation.class);
         if (!removeds.isEmpty()) {
             for (Entry<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> removed:
                 removeds.entrySet()) {
@@ -76,7 +76,7 @@ public class PhysicalSwitchRemoveCommand extends AbstractTransactCommand {
         }
     }
 
-    private Map<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> extractRemoved(
+    private Map<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> extractRemovedSwitches(
             Collection<DataTreeModification<Node>> changes, Class<PhysicalSwitchAugmentation> class1) {
         Map<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> result
             = new HashMap<InstanceIdentifier<Node>, PhysicalSwitchAugmentation>();