diff --git a/build.gradle b/build.gradle index 6d4e7e6..d420019 100644 --- a/build.gradle +++ b/build.gradle @@ -30,7 +30,6 @@ java { dependencies { implementation group: 'com.konghq', name: 'unirest-java', version: '3.13.10' - implementation group: 'com.google.guava', name: 'guava', version: '31.1-jre' implementation group: 'commons-validator', name: 'commons-validator', version: '1.7' implementation group: 'commons-net', name: 'commons-net', version: '3.8.0' diff --git a/src/main/java/ch/unibas/dmi/dbis/chronos/agent/AbstractChronosAgent.java b/src/main/java/ch/unibas/dmi/dbis/chronos/agent/AbstractChronosAgent.java index 92fa147..0c3ccaf 100644 --- a/src/main/java/ch/unibas/dmi/dbis/chronos/agent/AbstractChronosAgent.java +++ b/src/main/java/ch/unibas/dmi/dbis/chronos/agent/AbstractChronosAgent.java @@ -27,7 +27,6 @@ of this software and associated documentation files (the "Software"), to deal import ch.unibas.dmi.dbis.chronos.agent.ChronosHttpClient.ChronosLogHandler; import ch.unibas.dmi.dbis.chronos.agent.ChronosHttpClient.JobPhase; -import com.google.common.io.Files; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; @@ -37,6 +36,7 @@ of this software and associated documentation files (the "Software"), to deal import java.net.UnknownHostException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; +import java.nio.file.Files; import java.util.Arrays; import java.util.Map; import java.util.NoSuchElementException; @@ -195,7 +195,7 @@ public void run() { // (3) -- // (4) Create environment - final File tempDirectory = Files.createTempDir(); + final File tempDirectory = Files.createTempDirectory( "chronos" ).toFile(); tempDirectory.deleteOnExit(); final File inputDirectory = new File( tempDirectory, "input" );