aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/equalparts/cardbase/utils
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2015-11-07 18:19:55 +0100
committerEduardo Pedroni <e.pedroni91@gmail.com>2015-11-07 18:19:55 +0100
commit8abeb9b04930752ea5694d69fb898f445fbee640 (patch)
tree355e1a0f9d0e9cb93e021ed1bf8bea02c0b193fc /src/eu/equalparts/cardbase/utils
parentb351b56e9a3cea7643e90484cff87ba9fe842b17 (diff)
Started refactoring CLI tests AGAIN, properly this time by emulating user input
Diffstat (limited to 'src/eu/equalparts/cardbase/utils')
-rw-r--r--src/eu/equalparts/cardbase/utils/MTGUniverse.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/eu/equalparts/cardbase/utils/MTGUniverse.java b/src/eu/equalparts/cardbase/utils/MTGUniverse.java
index dd6f6ad..2e33eff 100644
--- a/src/eu/equalparts/cardbase/utils/MTGUniverse.java
+++ b/src/eu/equalparts/cardbase/utils/MTGUniverse.java
@@ -32,9 +32,9 @@ public final class MTGUniverse {
/**
* The base URL from where the information is fetched.
*/
- private String BASE_DATA_URL = "http://mtgjson.com/json/";
+ private String BASE_DATA_URL;
/**
- * If the upstream set code list can't be loaded, this is loaded instead.
+ * If the upstream set code list can't be loaded, this local copy is loaded instead.
*/
private final String FALLBACK_LIST_PATH = "/fallbackSetList.json";
/**
@@ -46,8 +46,6 @@ public final class MTGUniverse {
*/
private HashMap<String, FullCardSet> cardSetCache = new HashMap<String, FullCardSet>();
- public MTGUniverse() {}
-
public MTGUniverse(String dataLocation) {
this.BASE_DATA_URL = dataLocation;
}