Using initial source for gs-uploading-files/initial/src/main/java/hello/storage/FileSystemStorageService.java fails testing when creating multi-directory. e.g. /file/foo
@Override
public void init() {
try {
Files.createDirectory(rootLocation);
} catch {IOException e) {
throw new StorageException("Could not initialize storage", e);
}
}
May need to be updated with final source.
@Override
public void init() {
try {
Files.createDirectories(rootLocation);
}
catch (IOException e) {
throw new StorageException("Could not initialize storage", e);
}
}
Using initial source for gs-uploading-files/initial/src/main/java/hello/storage/FileSystemStorageService.java fails testing when creating multi-directory. e.g. /file/foo
May need to be updated with final source.