From 8abeb9b04930752ea5694d69fb898f445fbee640 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Sat, 7 Nov 2015 18:19:55 +0100 Subject: Started refactoring CLI tests AGAIN, properly this time by emulating user input --- src/eu/equalparts/cardbase/utils/MTGUniverse.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/eu/equalparts/cardbase/utils') 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 cardSetCache = new HashMap(); - public MTGUniverse() {} - public MTGUniverse(String dataLocation) { this.BASE_DATA_URL = dataLocation; } -- cgit v1.2.3