Clean up constant reference
[mdsal.git] / binding / mdsal-binding-generator / src / main / java / org / opendaylight / mdsal / binding / generator / impl / reactor / ActionGenerator.java
index b5d1329cb055127482bc87485c76d23bc330f7b5..2eaacce128c621dcbf4fab8b1548f705eb1c555a 100644 (file)
@@ -51,7 +51,7 @@ final class ActionGenerator extends AbstractInvokableGenerator<ActionEffectiveSt
             if (keyGen != null) {
                 final var keyType = keyGen.getGeneratedType(builderFactory);
                 builder.addImplementsType(BindingTypes.keyedListAction(parentType, keyType, input, output));
-                builder.addMethod(Naming.RPC_INVOKE_NAME).setAbstract(true)
+                builder.addMethod(Naming.ACTION_INVOKE_NAME).setAbstract(true)
                     .addParameter(BindingTypes.keyedInstanceIdentifier(parentType, keyType), "path")
                     .addParameter(input, "input")
                     .setReturnType(Types.listenableFutureTypeFor(BindingTypes.rpcResult(output)))
@@ -60,7 +60,7 @@ final class ActionGenerator extends AbstractInvokableGenerator<ActionEffectiveSt
             }
         }
         builder.addImplementsType(BindingTypes.action(parentType, input, output));
-        builder.addMethod(Naming.RPC_INVOKE_NAME).setAbstract(true)
+        builder.addMethod(Naming.ACTION_INVOKE_NAME).setAbstract(true)
             .addParameter(BindingTypes.instanceIdentifier(parentType), "path")
             .addParameter(input, "input")
             .setReturnType(Types.listenableFutureTypeFor(BindingTypes.rpcResult(output)))