Fixup Augmentable and Identifiable methods changing
[netvirt.git] / policyservice / impl / src / main / java / org / opendaylight / netvirt / policyservice / PolicyAceFlowProgrammer.java
index 2bb8fc7b48681621369b0dcd2ea4e15f62404b1f..1eeec5fae1889b82de0314b5e9ca6f7828e3c549 100644 (file)
@@ -151,7 +151,7 @@ public class PolicyAceFlowProgrammer {
     }
 
     private Optional<PolicyAceFlowWrapper> getPolicyAceFlowWrapper(Matches matches) {
-        IngressInterface ingressInterface = matches.getAugmentation(IngressInterface.class);
+        IngressInterface ingressInterface = matches.augmentation(IngressInterface.class);
         if (ingressInterface != null) {
             Optional<PolicyAceFlowWrapper> interfaceFlowOpt = getIngressInterfaceFlow(ingressInterface);
             if (interfaceFlowOpt.isPresent()) {
@@ -159,7 +159,7 @@ public class PolicyAceFlowProgrammer {
             }
         }
 
-        Service service = matches.getAugmentation(Service.class);
+        Service service = matches.augmentation(Service.class);
         if (service != null) {
             Optional<PolicyAceFlowWrapper> serviceFlowOpt = getPolicyServiceFlow(service);
             if (serviceFlowOpt.isPresent()) {