From 63e902a047bee9d7d9d4dba4dda2e831c8e83881 Mon Sep 17 00:00:00 2001 From: MiUsuario Date: Wed, 20 Aug 2025 18:06:37 +0200 Subject: [PATCH] This message shouldn't be received by the user since it is a backend pitfall. --- .../uploadingfiles/storage/FileSystemStorageService.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/complete/src/main/java/com/example/uploadingfiles/storage/FileSystemStorageService.java b/complete/src/main/java/com/example/uploadingfiles/storage/FileSystemStorageService.java index 4142cc9..a0f4e3c 100755 --- a/complete/src/main/java/com/example/uploadingfiles/storage/FileSystemStorageService.java +++ b/complete/src/main/java/com/example/uploadingfiles/storage/FileSystemStorageService.java @@ -24,11 +24,6 @@ public class FileSystemStorageService implements StorageService { @Autowired public FileSystemStorageService(StorageProperties properties) { - - if(properties.getLocation().trim().length() == 0){ - throw new StorageException("File upload location can not be Empty."); - } - this.rootLocation = Paths.get(properties.getLocation()); }