From f5f777d5a37aa147f6a1f755e6b4f2814cda595d Mon Sep 17 00:00:00 2001 From: Junwei Dai Date: Fri, 8 Nov 2024 11:24:34 -0800 Subject: [PATCH] Removed the constructor that has never been used and tested. Signed-off-by: Junwei Dai --- .../flowframework/transport/WorkflowRequest.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/org/opensearch/flowframework/transport/WorkflowRequest.java b/src/main/java/org/opensearch/flowframework/transport/WorkflowRequest.java index cfbc9608..97f032e3 100644 --- a/src/main/java/org/opensearch/flowframework/transport/WorkflowRequest.java +++ b/src/main/java/org/opensearch/flowframework/transport/WorkflowRequest.java @@ -81,16 +81,6 @@ public WorkflowRequest(@Nullable String workflowId, @Nullable Template template, this(workflowId, template, new String[] { "all" }, true, params, false); } - /** - * Instantiates a new WorkflowRequest, set validation to all, sets reprovision flag - * @param workflowId the documentId of the workflow - * @param template the updated template - * @param reprovision the reprovision flag - */ - public WorkflowRequest(String workflowId, Template template, boolean reprovision) { - this(workflowId, template, new String[] { "all" }, false, Collections.emptyMap(), reprovision); - } - /** * Instantiates a new WorkflowRequest * @param workflowId the documentId of the workflow