Clean up constant reference
[mdsal.git] / binding / mdsal-binding-generator / src / main / java / org / opendaylight / mdsal / binding / generator / impl / reactor / ActionGenerator.java
index ff89ae3574aecd1599f6a0181f8f1d815573356b..2bcaded507d5a52bced97064e222fbdb5304275a 100644 (file)
@@ -50,7 +50,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(BindingMapping.RPC_INVOKE_NAME).setAbstract(true)
+                builder.addMethod(BindingMapping.ACTION_INVOKE_NAME).setAbstract(true)
                     .addParameter(BindingTypes.keyedInstanceIdentifier(parentType, keyType), "path")
                     .addParameter(input, "input")
                     .setReturnType(Types.listenableFutureTypeFor(BindingTypes.rpcResult(output)))
@@ -59,7 +59,7 @@ final class ActionGenerator extends AbstractInvokableGenerator<ActionEffectiveSt
             }
         }
         builder.addImplementsType(BindingTypes.action(parentType, input, output));
-        builder.addMethod(BindingMapping.RPC_INVOKE_NAME).setAbstract(true)
+        builder.addMethod(BindingMapping.ACTION_INVOKE_NAME).setAbstract(true)
             .addParameter(BindingTypes.instanceIdentifier(parentType), "path")
             .addParameter(input, "input")
             .setReturnType(Types.listenableFutureTypeFor(BindingTypes.rpcResult(output)))