bug 6579 removed boilerplate code
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / java / org / opendaylight / ovsdb / hwvtepsouthbound / transact / PhysicalSwitchUpdateCommand.java
index e7a33b0ba217a14fdb03864755cb89768c113d81..8d776c275ef809951944cf70bd3f99dfd2ee70b6 100644 (file)
@@ -67,7 +67,7 @@ public class PhysicalSwitchUpdateCommand extends AbstractTransactCommand {
             }
         }
         Map<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> updated =
-                extractUpdated(getChanges(),PhysicalSwitchAugmentation.class);
+                extractUpdatedSwitches(getChanges(),PhysicalSwitchAugmentation.class);
         if (!updated.isEmpty()) {
             for (Entry<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> physicalSwitchEntry:
                 updated.entrySet()) {
@@ -316,7 +316,7 @@ public class PhysicalSwitchUpdateCommand extends AbstractTransactCommand {
         return result;
     }
 
-    private Map<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> extractUpdated(
+    private Map<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> extractUpdatedSwitches(
             Collection<DataTreeModification<Node>> changes, Class<PhysicalSwitchAugmentation> class1) {
         Map<InstanceIdentifier<Node>, PhysicalSwitchAugmentation> result
             = new HashMap<InstanceIdentifier<Node>, PhysicalSwitchAugmentation>();