Skip to content

Commit

Permalink
remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
duoertai committed Jun 30, 2023
1 parent 20e2fbd commit d3010c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/io/iworkflow/core/UnregisteredClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ public <T> T getSimpleWorkflowResultWithWait(

String checkErrorMessage = "this workflow should have one or zero state output for using this API";
final List<StateCompletionOutput> filteredResults = workflowGetResponse.getResults().stream().filter((res) -> res.getCompletedStateOutput() != null).collect(Collectors.toList());

Preconditions.checkArgument(workflowGetResponse.getResults().size() == 1 || filteredResults.size() == 1, checkErrorMessage + ", found " + workflowGetResponse.getResults().size() + ", after filtered NULL: " + filteredResults.size());

final StateCompletionOutput output;
Expand Down

0 comments on commit d3010c9

Please sign in to comment.