This commit is contained in:
Theophyl Hoguet committed 2023-03-13 23:31:02 +01:00
1 parent 754919b518
commit 1b978f9b93
1 file changed
+1 -1
@@ -24,7 +24,7 @@ public class ImageDao implements Dao<Image> {
public ImageDao(ClassPathResource folderPath) throws IOException { public ImageDao(ClassPathResource folderPath) throws IOException {
if (!folderPath.exists()) if (!folderPath.exists())
throw new ImageResourceMissingException("folder images doesn't not exsit"); throw new ImageResourceMissingException("folder images doesn't not exist");
final var folder = folderPath.getFile(); final var folder = folderPath.getFile();
getAllImages(folder); getAllImages(folder);
} }