Fixup Augmentable and Identifiable methods changing
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / EffectiveRibInWriter.java
index 70de8d0ad913e9c9be8b59067bed0cc354211e29..98a48e90e1ba002b808582b248b2bc9ae0497905 100644 (file)
@@ -140,7 +140,7 @@ final class EffectiveRibInWriter implements PrefixesReceivedCounters, PrefixesIn
             switch (modificationType) {
                 case DELETE:
                     final Tables removeTable = table.getDataBefore();
-                    final TablesKey tableKey = removeTable.getKey();
+                    final TablesKey tableKey = removeTable.key();
                     final KeyedInstanceIdentifier<Tables, TablesKey> effectiveTablePath
                             = this.effRibTables.child(Tables.class, tableKey);
                     LOG.debug("Delete Effective Table {} modification type {}, "
@@ -151,7 +151,7 @@ final class EffectiveRibInWriter implements PrefixesReceivedCounters, PrefixesIn
                 case SUBTREE_MODIFIED:
                     final Tables before = table.getDataBefore();
                     final Tables after = table.getDataAfter();
-                    final TablesKey tk = after.getKey();
+                    final TablesKey tk = after.key();
                     LOG.debug("Process table {} type {}, dataAfter {}, dataBefore {}",
                             tk, modificationType, after, before);
 
@@ -244,7 +244,7 @@ final class EffectiveRibInWriter implements PrefixesReceivedCounters, PrefixesIn
         if (newTable == null) {
             return;
         }
-        final TablesKey tableKey = newTable.getKey();
+        final TablesKey tableKey = newTable.key();
         final KeyedInstanceIdentifier<Tables, TablesKey> tablePath
                 = this.effRibTables.child(Tables.class, tableKey);