dev delete config
Test Workflow / test (push) Waiting to run

This commit is contained in:
vladp
2026-02-16 20:17:57 +07:00
parent 919baa418e
commit fe710c824d
@@ -141,7 +141,7 @@ public class FileSimilarityService {
return duplicates;
}
public boolean hasDuplicatesByHash(String path, Long userId,String mimeType) throws Exception {
public void hasDuplicatesByHash(String path, Long userId, String mimeType) throws Exception {
String hash = calculateFileHash(path);
List<FileEntity> fileEntityList = fileEntityRepository.findByUserIdAndMimeType(userId, mimeType);
@@ -151,8 +151,6 @@ public class FileSimilarityService {
file.getUserId());
}
}
return false;
}
public Page<SimilarFileDTO> findSimilarFiles(String fileId, SimilarityFilter filter, Pageable pageable,