commit 71d2eb30c909ec46f2ec79c99c06ae3141b10ebe Author: Karsten Loesing karsten.loesing@gmx.net Date: Fri Jun 30 10:18:24 2017 +0200
Remove unused ExoneraTor config lines. --- .../java/org/torproject/ernie/cron/Configuration.java | 17 ----------------- 1 file changed, 17 deletions(-)
diff --git a/modules/legacy/src/main/java/org/torproject/ernie/cron/Configuration.java b/modules/legacy/src/main/java/org/torproject/ernie/cron/Configuration.java index 35d52b9..d1bc63b 100644 --- a/modules/legacy/src/main/java/org/torproject/ernie/cron/Configuration.java +++ b/modules/legacy/src/main/java/org/torproject/ernie/cron/Configuration.java @@ -44,11 +44,6 @@ public class Configuration {
private boolean writeBridgeStats = false;
- private String exoneraTorDatabaseJdbc = "jdbc:postgresql:" - + "//localhost/exonerator?user=metrics&password=password"; - - private String exoneraTorImportDirectory = "exonerator-import/"; - /** Initializes this configuration class. */ public Configuration() {
@@ -96,10 +91,6 @@ public class Configuration { } else if (line.startsWith("WriteBridgeStats")) { this.writeBridgeStats = Integer.parseInt( line.split(" ")[1]) != 0; - } else if (line.startsWith("ExoneraTorDatabaseJdbc")) { - this.exoneraTorDatabaseJdbc = line.split(" ")[1]; - } else if (line.startsWith("ExoneraTorImportDirectory")) { - this.exoneraTorImportDirectory = line.split(" ")[1]; } else { logger.severe("Configuration file contains unrecognized " + "configuration key in line '" + line + "'! Exiting!"); @@ -177,13 +168,5 @@ public class Configuration { public boolean getWriteBridgeStats() { return this.writeBridgeStats; } - - public String getExoneraTorDatabaseJdbc() { - return this.exoneraTorDatabaseJdbc; - } - - public String getExoneraTorImportDirectory() { - return this.exoneraTorImportDirectory; - } }
tor-commits@lists.torproject.org