Pull request #424: RED-4028 - fixed error in hard delete file
Merge in RED/persistence-service from RED-4028 to master * commit '9ab92b86c2d358305231f0877acee692461debce': RED-4028 - fixed error in hard delete file
This commit is contained in:
commit
e4b8dfffe3
@ -78,9 +78,9 @@ public class AddRedactionPersistenceService {
|
||||
}
|
||||
|
||||
|
||||
public Set<ManualRedactionEntryEntity> findAddRedactions(String fileId, boolean includeDeletions) {
|
||||
public List<ManualRedactionEntryEntity> findAddRedactions(String fileId, boolean includeDeletions) {
|
||||
|
||||
return new HashSet<>(manualRedactionRepository.findByFileIdIncludeDeletions(fileId, includeDeletions));
|
||||
return manualRedactionRepository.findByFileIdIncludeDeletions(fileId, includeDeletions);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -118,7 +118,7 @@ public class ManualRedactionProviderService {
|
||||
}
|
||||
|
||||
|
||||
private Set<ManualRedactionEntry> convertEntriesToAdd(Set<ManualRedactionEntryEntity> source) {
|
||||
private Set<ManualRedactionEntry> convertEntriesToAdd(List<ManualRedactionEntryEntity> source) {
|
||||
|
||||
return source.stream().map(entry -> convert(entry, ManualRedactionEntry.class, new ManualRedactionMapper())).collect(Collectors.toSet());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user