Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis committed Aug 5, 2024
1 parent 8ffa29d commit 56ce0ef
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ public WorkflowRequest(StreamInput in) throws IOException {
this.params = provisionOrUpdateOrReprovision
? in.readMap(StreamInput::readString, StreamInput::readString)
: Collections.emptyMap();
this.provision = provisionOrUpdateOrReprovision && !params.containsKey(UPDATE_WORKFLOW_FIELDS) && !params.containsKey(REPROVISION_WORKFLOW);
this.provision = provisionOrUpdateOrReprovision
&& !params.containsKey(UPDATE_WORKFLOW_FIELDS)
&& !params.containsKey(REPROVISION_WORKFLOW);
this.updateFields = !provision && Boolean.parseBoolean(params.get(UPDATE_WORKFLOW_FIELDS));
if (this.updateFields) {
this.params = Collections.emptyMap();
Expand Down

0 comments on commit 56ce0ef

Please sign in to comment.