From b161eccaaee17b95c030bec5dcded2124e3c2555 Mon Sep 17 00:00:00 2001 From: Fynn Godau Date: Wed, 31 Mar 2021 10:43:13 +0200 Subject: [PATCH] Apply review --- .../bandcamp/extractors/BandcampFeaturedExtractor.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampFeaturedExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampFeaturedExtractor.java index 019c5aba37..ec9be372d7 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampFeaturedExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampFeaturedExtractor.java @@ -86,10 +86,9 @@ private InfoItemsPage 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");