From bf39a1f519db5391cc69287d7010a9422f6e80b1 Mon Sep 17 00:00:00 2001 From: Jie Han Date: Mon, 17 Jul 2017 10:22:13 +0800 Subject: [PATCH] Binding generator v2 - fix action #2 - delete duplicate resolving data node which has been done in resolveOperationNode Change-Id: I1fda7f35cc84f14dff1213f7c70fd844d9d08607 Signed-off-by: Jie Han (cherry picked from commit de3659e9417072d31f34812a65fdaa79b9eeba83) --- .../binding/javav2/generator/impl/RpcActionGenHelper.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/binding2/mdsal-binding2-generator-impl/src/main/java/org/opendaylight/mdsal/binding/javav2/generator/impl/RpcActionGenHelper.java b/binding2/mdsal-binding2-generator-impl/src/main/java/org/opendaylight/mdsal/binding/javav2/generator/impl/RpcActionGenHelper.java index 3a3812b9ca..a9b9f438c0 100644 --- a/binding2/mdsal-binding2-generator-impl/src/main/java/org/opendaylight/mdsal/binding/javav2/generator/impl/RpcActionGenHelper.java +++ b/binding2/mdsal-binding2-generator-impl/src/main/java/org/opendaylight/mdsal/binding/javav2/generator/impl/RpcActionGenHelper.java @@ -210,7 +210,6 @@ final class RpcActionGenHelper { return genCtx; } - //TODO: This method should be reusable for convertion of action that is in grouping. /** * Converts RPC, Action or routed RPC into generated type * @return generated type @@ -282,9 +281,6 @@ final class RpcActionGenHelper { interfaceBuilder.addImplementsType(parameterizedTypeFor(LIST_ACTION, parentType, inType, outType)); } else { //Action - GenHelperUtil.resolveDataSchemaNodes(module, basePackageName, parentType, parentType, - ((ContainerSchemaNode) parent).getChildNodes(), genCtx, schemaContext, verboseClassComments, - genTypeBuilders, typeProvider, namespaceType); operationMethod.addParameter(parameterizedTypeFor(INSTANCE_IDENTIFIER, parentType), "ii"); interfaceBuilder.addImplementsType(parameterizedTypeFor(ACTION, parentType, inType, outType)); } -- 2.36.6