From 0bcea9c2cd49889f1a748c6e2a0328af0b083756 Mon Sep 17 00:00:00 2001 From: bopol Date: Fri, 1 Jan 2021 14:37:32 +0100 Subject: [PATCH] add JDoc --- .../services/peertube/PeertubeParsingHelper.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeParsingHelper.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeParsingHelper.java index 8604b916..96d7d566 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeParsingHelper.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeParsingHelper.java @@ -67,7 +67,15 @@ public class PeertubeParsingHelper { collectStreamsFrom(collector, json, baseUrl, false); } - // sepia: if we should use PeertubeSepiaStreamInfoItemExtractor + /** + * Collect stream from json with collector + * + * @param collector the collector used to collect information + * @param json the file to retrieve data from + * @param baseUrl the base Url of the instance + * @param sepia if we should use PeertubeSepiaStreamInfoItemExtractor + * @throws ParsingException + */ public static void collectStreamsFrom(final InfoItemsCollector collector, final JsonObject json, final String baseUrl, boolean sepia) throws ParsingException { final JsonArray contents; try {