Skip to content

Commit

Permalink
Apply review
Browse files Browse the repository at this point in the history
  • Loading branch information
fynngodau committed Mar 31, 2021
1 parent d663be5 commit b161ecc
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@ private InfoItemsPage<PlaylistInfoItem> extractItems(JsonArray featuredStories)
}

/**
* The query for more featured stories needs parameters from the last featured
* story.
* Next Page can be generated from metadata of last featured story
*/
private Page makeNextPage(JsonObject lastFeaturedStory) {
private Page getNextPageFrom(JsonObject lastFeaturedStory) {
final long lastStoryDate = lastFeaturedStory.getLong("story_date");
final long lastStoryId = lastFeaturedStory.getLong("ntid");
final String lastStoryType = lastFeaturedStory.getString("story_type");
Expand Down

0 comments on commit b161ecc

Please sign in to comment.