diff --git a/client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java b/client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java index d3fb4bead..a16ae421f 100644 --- a/client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java +++ b/client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java @@ -256,7 +256,7 @@ public void deleteWorkflow(String workflowId, boolean archiveWorkflow) { * @param reason the reason to be logged and displayed * @return the {@link BulkResponse} contains bulkErrorResults and bulkSuccessfulResults */ - public BulkResponse terminateWorkflows(List workflowIds, String reason) { + public BulkResponse terminateWorkflows(List workflowIds, String reason) { Validate.isTrue(!workflowIds.isEmpty(), "workflow id cannot be blank"); return postForEntity( "workflow/bulk/terminate", diff --git a/common/src/main/java/com/netflix/conductor/common/model/BulkResponse.java b/common/src/main/java/com/netflix/conductor/common/model/BulkResponse.java index a72d2a9f4..ff35ea5df 100644 --- a/common/src/main/java/com/netflix/conductor/common/model/BulkResponse.java +++ b/common/src/main/java/com/netflix/conductor/common/model/BulkResponse.java @@ -21,6 +21,8 @@ /** * Response object to return a list of succeeded entities and a map of failed ones, including error * message, for the bulk request. + * + * @param the type of entities included in the successful results */ public class BulkResponse { diff --git a/conductor-clients/java/conductor-java-sdk/conductor-client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java b/conductor-clients/java/conductor-java-sdk/conductor-client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java index 63654e4b1..bb5ae9048 100644 --- a/conductor-clients/java/conductor-java-sdk/conductor-client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java +++ b/conductor-clients/java/conductor-java-sdk/conductor-client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java @@ -255,7 +255,7 @@ public void deleteWorkflow(String workflowId, boolean archiveWorkflow) { * @param reason the reason to be logged and displayed * @return the {@link BulkResponse} contains bulkErrorResults and bulkSuccessfulResults */ - public BulkResponse terminateWorkflows(List workflowIds, String reason) { + public BulkResponse terminateWorkflows(List workflowIds, String reason) { Validate.isTrue(!workflowIds.isEmpty(), "workflow id cannot be blank"); ConductorClientRequest request = ConductorClientRequest.builder()