pefernan commented on code in PR #7139:
URL: https://github.com/apache/incubator-kie/pull/7139#discussion_r4144887482
##########
kogito-jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/lifecycle/WsHumanTaskLifeCycle.java:
##########
@@ -244,7 +244,25 @@ public UserTaskTransitionToken newTransitionToken(String
transitionId, UserTaskS
.findAny()
.orElseThrow(() -> new UserTaskTransitionException("Invalid
transition " + transitionId + " from " + state));
- return new DefaultUserTaskTransitionToken(transition.id(),
transition.source(), transition.target(), data);
+ Map<String, Object> normalizedData = new java.util.LinkedHashMap<>();
Review Comment:
@abhijithumbe Do we need to preserve the input parameter order here? If not,
a `HashMap` should be enough.
Other than that I'm ok.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]