diff options
author | cyBerta <cyberta@riseup.net> | 2021-11-06 20:20:08 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-06 20:20:08 +0100 |
commit | c0a1ed833fdecabe4e228d084da51db6e64fadd6 (patch) | |
tree | 8f3186b75dab0662c0ded6a59407cb07e1d13117 /app/src/main | |
parent | 0580d514b6c445353027a27cd67afe6ed1b9f62f (diff) |
make default_url in DefaultedURL a local variable
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/models/DefaultedURL.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/models/DefaultedURL.java b/app/src/main/java/se/leap/bitmaskclient/base/models/DefaultedURL.java index 4bb7e4ee..81f0d0c7 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/models/DefaultedURL.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/models/DefaultedURL.java @@ -5,12 +5,12 @@ import java.net.URL; public class DefaultedURL { private URL DEFAULT_URL; - private String default_url = "https://example.net"; private URL url; DefaultedURL() { try { + String default_url = "https://example.net"; DEFAULT_URL = new URL(default_url); url = DEFAULT_URL; } catch (MalformedURLException e) { |