RED-7782 - Remove comments

This commit is contained in:
Andrei Isvoran 2023-10-24 11:22:44 +02:00
parent 59f3e99fea
commit 48d432024a
2 changed files with 1 additions and 8 deletions

View File

@ -90,10 +90,7 @@ public class ManualRedactionProviderService {
new ManualResizeRedactionMapper()));
}
// deprecated anyway, remove as soon as UI uses EntityLog
Comments comments = commentService.getComments(fileId);
return new ManualRedactions(removals, entriesToAdd, forceRedactions, recategorizations, legalBasisChanges, resizeRedactions, comments.getComments());
return new ManualRedactions(removals, entriesToAdd, forceRedactions, recategorizations, legalBasisChanges, resizeRedactions);
}

View File

@ -42,8 +42,4 @@ public class ManualRedactions {
@Builder.Default
private Set<ManualResizeRedaction> resizeRedactions = new HashSet<>();
@Deprecated(forRemoval = true)
@Builder.Default
private Map<String, List<Comment>> comments = new HashMap<>();
}