diff options
Diffstat (limited to 'src/eu/equalparts/cardbase/utils')
-rw-r--r-- | src/eu/equalparts/cardbase/utils/MTGUniverse.java | 6 |
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; } |