Skip to content

Commit

Permalink
incubator-kie-issues#1626: Fix Typo in public API method for custom U…
Browse files Browse the repository at this point in the history
…ser Task assignment strategy (apache#2039)
  • Loading branch information
pefernan authored and rgdoliveira committed Nov 25, 2024
1 parent e3c2a29 commit 6279107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public Optional<UserTaskTransitionToken> skip(UserTaskInstance userTaskInstance,

private String assignStrategy(UserTaskInstance userTaskInstance, IdentityProvider identityProvider) {
UserTaskAssignmentStrategy assignmentStrategy = userTaskInstance.getUserTask().getAssignmentStrategy();
return assignmentStrategy.computeAssigment(userTaskInstance, identityProvider).orElse(null);
return assignmentStrategy.computeAssignment(userTaskInstance, identityProvider).orElse(null);
}

private void checkPermission(UserTaskInstance userTaskInstance, IdentityProvider identityProvider) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public Optional<UserTaskTransitionToken> skip(UserTaskInstance userTaskInstance,

private String assignStrategy(UserTaskInstance userTaskInstance, IdentityProvider identityProvider) {
UserTaskAssignmentStrategy assignmentStrategy = userTaskInstance.getUserTask().getAssignmentStrategy();
return assignmentStrategy.computeAssigment(userTaskInstance, identityProvider).orElse(null);
return assignmentStrategy.computeAssignment(userTaskInstance, identityProvider).orElse(null);
}

private void checkPermission(UserTaskInstance userTaskInstance, IdentityProvider identityProvider) {
Expand Down

0 comments on commit 6279107

Please sign in to comment.