Skip to content

Commit

Permalink
Add NONE to lane constants
Browse files Browse the repository at this point in the history
  • Loading branch information
stelar7 committed Mar 5, 2018
1 parent f9d1bc3 commit a7fa101
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ public enum LaneType
/**
* The bottom lane
*/
BOT("BOT", "BOTTOM", "BOT_LANE");
BOT("BOT", "BOTTOM", "BOT_LANE"),

/**
* The Riot API could not decide on a lane
*/
NONE("NONE");

private final String[] keys;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ public void testMatchAndMatchList()
Long endIndex = null;//100;

MatchListBuilder builder = new MatchListBuilder();
Summoner sum = new SummonerBuilder().withPlatform(Platform.NA1).withName("admomgoboom").get();
Summoner sum = new SummonerBuilder().withPlatform(Platform.NA1).withName("Kejorn").get();
builder = builder.withPlatform(sum.getPlatform()).withAccountId(sum.getAccountId());
builder = builder.withBeginTime(beginTime).withEndTime(endTime);
builder = builder.withBeginIndex(beginIndex).withEndIndex(endIndex);
builder = builder.withQueues(queue).withSeasons(season).withChampions(champ);
// builder = builder.withBeginTime(beginTime).withEndTime(endTime);
// builder = builder.withBeginIndex(beginIndex).withEndIndex(endIndex);
// builder = builder.withQueues(queue).withSeasons(season).withChampions(champ);

LazyList<MatchReference> all = builder.getLazy();
all.loadFully();
Expand Down

0 comments on commit a7fa101

Please sign in to comment.