From 66a147efac201c8088fee98f26e02e3bd8979fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Mon, 14 Oct 2013 13:08:22 +0200 Subject: Successfully rebased onto progress-bars. --- src/se/leap/bitmaskclient/ProviderListContent.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/se/leap/bitmaskclient/ProviderListContent.java') diff --git a/src/se/leap/bitmaskclient/ProviderListContent.java b/src/se/leap/bitmaskclient/ProviderListContent.java index 3695066c..af61dbd6 100644 --- a/src/se/leap/bitmaskclient/ProviderListContent.java +++ b/src/se/leap/bitmaskclient/ProviderListContent.java @@ -61,7 +61,6 @@ public class ProviderListContent { public static class ProviderItem { final public static String CUSTOM = "custom"; final public static String DANGER_ON = "danger_on"; - private boolean custom = false; private String provider_main_url; private String name; private boolean danger_on = false; @@ -80,8 +79,7 @@ public class ProviderListContent { String urls_file_content = new String(urls_file_bytes); JSONObject file_contents = new JSONObject(urls_file_content); provider_main_url = file_contents.getString(Provider.MAIN_URL); - this.name = name; - this.custom = custom; + this.name = name; this.danger_on = danger_on; } catch (JSONException e) { // TODO Auto-generated catch block @@ -99,17 +97,14 @@ public class ProviderListContent { * @param custom if it's a new provider entered by the user or not * @param danger_on if the user trusts completely the new provider */ - public ProviderItem(String name, String provider_main_url, boolean custom, boolean danger_on) { + public ProviderItem(String name, String provider_main_url, boolean danger_on) { this.name = name; this.provider_main_url = provider_main_url; - this.custom = custom; this.danger_on = danger_on; } public String name() { return name; } - public boolean custom() { return custom; } - public String providerMainUrl() { return provider_main_url; } public String domain() { -- cgit v1.2.3