Skip to content

Commit

Permalink
Clean constants
Browse files Browse the repository at this point in the history
  • Loading branch information
stelar7 committed May 5, 2018
1 parent fcb2c0a commit 1e0434d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ public final class Constants
public static final String PROTOCOL = "https://";
public static final String HOST_PLACEHOLDER = ".api.riotgames.com";

public static final String REQUEST_URL = PROTOCOL + PLATFORM_PLACEHOLDER + HOST_PLACEHOLDER + SEPARATOR + GAME_PLACEHOLDER + SEPARATOR + SERVICE_PLACEHOLDER + SEPARATOR + VERSION_PLACEHOLDER + SEPARATOR + RESOURCE_PLACEHOLDER;
public static final String BASE_URL = PROTOCOL + PLATFORM_PLACEHOLDER + HOST_PLACEHOLDER + SEPARATOR;
public static final String URL_PATH = GAME_PLACEHOLDER + SEPARATOR + SERVICE_PLACEHOLDER + SEPARATOR + VERSION_PLACEHOLDER + SEPARATOR + RESOURCE_PLACEHOLDER;

public static final String REQUEST_URL = BASE_URL + URL_PATH;

public static final String[] TEST_TOURNAMENT_CODES = {"EUW0418b-b9423c92-5733-4d1b-aff2-215229f96e8d"};
public static final String[] TEST_SUMMONER_NAMES = {"stelar7", "相当猥琐", "RİVEN BANLAMAA", "Elyäkâla", "Integra"};
Expand Down

0 comments on commit 1e0434d

Please sign in to comment.