Skip to content

Commit

Permalink
refactoring fromStringToFile
Browse files Browse the repository at this point in the history
  • Loading branch information
LuciaM1 committed Sep 25, 2024
1 parent a04ffa0 commit bff021b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class DirManager {

@Startup
static void init(@Observes StartupEvent ev) throws IOException {
String secureDirPath = System.getProperty("java.io.tmpdir") + "/mySecureDirectory";
String secureDirPath = System.getProperty("java.io.tmpdir") + "/decodedFilesDirectory";
decodedFilesDirectory = new File(secureDirPath);
if (!decodedFilesDirectory.exists() && !decodedFilesDirectory.mkdirs()) {
throw new IOException("Impossibile creare una directory sicura per il salvataggio di file temporanei.");
Expand Down

0 comments on commit bff021b

Please sign in to comment.