From f084bb1da6c18896af8acf887a0a1d3a9a0893cb Mon Sep 17 00:00:00 2001 From: Alexander Puzynia Date: Wed, 16 Jul 2025 00:48:28 -0700 Subject: [PATCH] refactor(library): remove checked IOException --- .../booklore/service/library/LibraryProcessingService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryProcessingService.java b/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryProcessingService.java index 6c6c20e04..632faaa44 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryProcessingService.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryProcessingService.java @@ -63,7 +63,7 @@ public class LibraryProcessingService { notificationService.sendMessage(Topic.LOG, createLogNotification("Finished refreshing library: " + libraryEntity.getName())); } - public static List detectDeletedBookIds(List libraryFiles, LibraryEntity libraryEntity) throws IOException { + public static List detectDeletedBookIds(List libraryFiles, LibraryEntity libraryEntity) { Set currentFileNames = libraryFiles.stream() .map(LibraryFile::getFileName) .collect(Collectors.toSet()); @@ -75,7 +75,7 @@ public class LibraryProcessingService { .collect(Collectors.toList()); } - public static List detectNewBookPaths(List libraryFiles, LibraryEntity libraryEntity) throws IOException { + public static List detectNewBookPaths(List libraryFiles, LibraryEntity libraryEntity) { Set existingFileNames = libraryEntity.getBookEntities().stream() .map(BookEntity::getFileName) .collect(Collectors.toSet());