summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/blinkt
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-06-20 02:42:43 +0200
committerParménides GV <parmegv@sdf.org>2014-06-20 12:44:02 +0200
commit93d5f11aed48eb822f02a9fede4a2819d053ad83 (patch)
tree33d94de5e697abea1f1f526eafaebf792e3ea836 /app/src/main/java/de/blinkt
parentd0383a325d3ec81be8dc354cb806f74b8d047c23 (diff)
Removed setDefinition from ConfigParser.
We now directly use the parseConfiguration method, translating the eip-service.json openvpn options to a string containing the corresponding openvpn config file lines.
Diffstat (limited to 'app/src/main/java/de/blinkt')
-rw-r--r--app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java b/app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
index 4fbbe165..5d5b3471 100644
--- a/app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
+++ b/app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
@@ -25,14 +25,6 @@ public class ConfigParser {
private boolean extraRemotesAsCustom=false;
-
- /*
- * TODO: We shouldn't be using this method.
- * We need to figure out how to use just parseConfig, probably removing parseOptions.
- */
- public void setDefinition(HashMap<String,Vector<Vector<String>>> args) {
- options = args;
- }
public void parseConfig(Reader reader) throws IOException, ConfigParseError {