Fixup Augmentable and Identifiable methods changing
authorStephen Kitt <skitt@redhat.com>
Thu, 31 May 2018 13:59:16 +0000 (15:59 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Jun 2018 19:34:55 +0000 (21:34 +0200)
This is a fixup of the change in binding codegen, adjusting:
- getKey() -> key()
- setKey() -> withKey()
- getAugmentation() -> augmentation()

Change-Id: I8e384b6d0f6c6bd81e96d71d3cbb81c89e4954a1
JIRA: TSC-101
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
impl/src/main/java/org/opendaylight/genius/srm/impl/SrmRpcUtils.java

index 9df3cf5965c29b57418a41d30bbce8a5cfc87cd6..b8885efbe79a3d8ae33b42960442d008aafb9481 100644 (file)
@@ -237,6 +237,6 @@ public final class SrmRpcUtils {
             Operations operation, Class<? extends EntityNameBase> serviceName) {
         return InstanceIdentifier.create(ServiceOps.class)
             .child(Services.class, new ServicesKey(serviceName))
-            .child(Operations.class, operation.getKey());
+            .child(Operations.class, operation.key());
     }
 }