Skip to content

Commit 6c0d3c1

Browse files
committed
Get rid of Guava dependency
1 parent f8bc32f commit 6c0d3c1

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ java {
3030

3131
dependencies {
3232
implementation group: 'com.konghq', name: 'unirest-java', version: '3.13.10'
33-
implementation group: 'com.google.guava', name: 'guava', version: '31.1-jre'
3433

3534
implementation group: 'commons-validator', name: 'commons-validator', version: '1.7'
3635
implementation group: 'commons-net', name: 'commons-net', version: '3.8.0'

src/main/java/ch/unibas/dmi/dbis/chronos/agent/AbstractChronosAgent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ of this software and associated documentation files (the "Software"), to deal
2727

2828
import ch.unibas.dmi.dbis.chronos.agent.ChronosHttpClient.ChronosLogHandler;
2929
import ch.unibas.dmi.dbis.chronos.agent.ChronosHttpClient.JobPhase;
30-
import com.google.common.io.Files;
3130
import java.io.File;
3231
import java.io.FileNotFoundException;
3332
import java.io.IOException;
@@ -37,6 +36,7 @@ of this software and associated documentation files (the "Software"), to deal
3736
import java.net.UnknownHostException;
3837
import java.nio.charset.Charset;
3938
import java.nio.charset.StandardCharsets;
39+
import java.nio.file.Files;
4040
import java.util.Arrays;
4141
import java.util.Map;
4242
import java.util.NoSuchElementException;
@@ -195,7 +195,7 @@ public void run() {
195195
// (3) --
196196

197197
// (4) Create environment
198-
final File tempDirectory = Files.createTempDir();
198+
final File tempDirectory = Files.createTempDirectory( "chronos" ).toFile();
199199
tempDirectory.deleteOnExit();
200200

201201
final File inputDirectory = new File( tempDirectory, "input" );

0 commit comments

Comments
 (0)