diff --git a/protoc-cli/src/main/java/io/ballerina/protoc/builder/syntaxtree/utils/ClientSampleSyntaxTreeUtils.java b/protoc-cli/src/main/java/io/ballerina/protoc/builder/syntaxtree/utils/ClientSampleSyntaxTreeUtils.java index 8541ca5..98f4df5 100644 --- a/protoc-cli/src/main/java/io/ballerina/protoc/builder/syntaxtree/utils/ClientSampleSyntaxTreeUtils.java +++ b/protoc-cli/src/main/java/io/ballerina/protoc/builder/syntaxtree/utils/ClientSampleSyntaxTreeUtils.java @@ -304,7 +304,7 @@ private static VariableDeclarationNode getInputDeclarationStatement(Method metho method.getInputType() + " ")), getCaptureBindingPatternNode(getRequestName(method.getMethodName()))); ExpressionNode node = null; - if(INPUT_TYPE_EXPR_NODES.containsKey(method.getInputType())) { + if (INPUT_TYPE_EXPR_NODES.containsKey(method.getInputType())) { node = INPUT_TYPE_EXPR_NODES.get(method.getInputType()); } else if (msgMap.containsKey(method.getInputType())) { Message msg = msgMap.get(method.getInputType());