Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
manan164 committed Nov 29, 2024
1 parent 8f81e81 commit 33d42ab
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ public List<TaskModel> getMappedTasks(TaskMapperContext taskMapperContext) {
subWorkflowTask.addInput("workflowInput", taskMapperContext.getTaskInput());
subWorkflowTask.setStatus(TaskModel.Status.SCHEDULED);
subWorkflowTask.setCallbackAfterSeconds(workflowTask.getStartDelay());
if (subWorkflowParams.getPriority() != null && !StringUtils.isEmpty(subWorkflowParams.getPriority().toString())) {
if (subWorkflowParams.getPriority() != null
&& !StringUtils.isEmpty(subWorkflowParams.getPriority().toString())) {
int priority = Integer.parseInt(subWorkflowParams.getPriority().toString());
subWorkflowTask.setWorkflowPriority(priority);
}
Expand Down

0 comments on commit 33d42ab

Please sign in to comment.