diff --git a/modules/flowable-engine/src/main/java/org/flowable/engine/migration/ProcessInstanceMigrationDocumentConverter.java b/modules/flowable-engine/src/main/java/org/flowable/engine/migration/ProcessInstanceMigrationDocumentConverter.java index a5d43cacedd..2c8f93054ef 100644 --- a/modules/flowable-engine/src/main/java/org/flowable/engine/migration/ProcessInstanceMigrationDocumentConverter.java +++ b/modules/flowable-engine/src/main/java/org/flowable/engine/migration/ProcessInstanceMigrationDocumentConverter.java @@ -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 fromActivityIds = objectMapper.convertValue(fromActivityIdsNode, new TypeReference<>() { + List fromActivityIds = objectMapper.convertValue(fromActivityIdsNode, new TypeReference>() { }); String toActivityId = jsonNode.get(ProcessInstanceMigrationDocumentConstants.TO_ACTIVITY_ID_JSON_PROPERTY).textValue(); @@ -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 toActivityIds = objectMapper.convertValue(toActivityIdsNode, new TypeReference<>() { + List toActivityIds = objectMapper.convertValue(toActivityIdsNode, new TypeReference>() { });