Skip to content

Commit

Permalink
Fix typereference issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsrademakers committed Apr 22, 2024
1 parent 77338a2 commit 8178fe0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ protected JsonNode convertNewAssigneeToJson(ActivityMigrationMapping.ManyToOneMa
@Override
public ActivityMigrationMapping.ManyToOneMapping convertFromJson(JsonNode jsonNode, ObjectMapper objectMapper) {
JsonNode fromActivityIdsNode = jsonNode.get(ProcessInstanceMigrationDocumentConstants.FROM_ACTIVITY_IDS_JSON_PROPERTY);
List<String> fromActivityIds = objectMapper.convertValue(fromActivityIdsNode, new TypeReference<>() {
List<String> fromActivityIds = objectMapper.convertValue(fromActivityIdsNode, new TypeReference<List<String>>() {

});
String toActivityId = jsonNode.get(ProcessInstanceMigrationDocumentConstants.TO_ACTIVITY_ID_JSON_PROPERTY).textValue();
Expand Down Expand Up @@ -469,7 +469,7 @@ protected JsonNode convertNewAssigneeToJson(ActivityMigrationMapping.OneToManyMa
public ActivityMigrationMapping.OneToManyMapping convertFromJson(JsonNode jsonNode, ObjectMapper objectMapper) {
String fromActivityId = jsonNode.get(ProcessInstanceMigrationDocumentConstants.FROM_ACTIVITY_ID_JSON_PROPERTY).textValue();
JsonNode toActivityIdsNode = jsonNode.get(ProcessInstanceMigrationDocumentConstants.TO_ACTIVITY_IDS_JSON_PROPERTY);
List<String> toActivityIds = objectMapper.convertValue(toActivityIdsNode, new TypeReference<>() {
List<String> toActivityIds = objectMapper.convertValue(toActivityIdsNode, new TypeReference<List<String>>() {

});

Expand Down

0 comments on commit 8178fe0

Please sign in to comment.