Fixup Augmentable and Identifiable methods changing
[bgpcep.git] / bgp / parser-impl / src / main / java / org / opendaylight / protocol / bgp / parser / impl / message / update / MPUnreachAttributeParser.java
index 45b6cfe5530c73ff66ed56e16f4c05b90b114c99..19eeb0db057fad27e91110e327eb7737005b393c 100644 (file)
@@ -55,7 +55,7 @@ public final class MPUnreachAttributeParser extends ReachAttributeParser {
         Preconditions.checkArgument(attribute instanceof Attributes,
                 "Attribute parameter is not a PathAttribute object.");
         final Attributes pathAttributes = (Attributes) attribute;
-        final Attributes2 pathAttributes2 = pathAttributes.getAugmentation(Attributes2.class);
+        final Attributes2 pathAttributes2 = pathAttributes.augmentation(Attributes2.class);
         if (pathAttributes2 == null) {
             return;
         }