Skip to content

Commit f747d38

Browse files
Fix checkstyle
1 parent 4a43bc6 commit f747d38

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeCommentsExtractor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,20 @@ private void collectCommentsFrom(@Nonnull final CommentsInfoItemsCollector colle
6969
@Nonnull final JsonObject json) throws ParsingException {
7070
final String url = getUrl();
7171
final String baseUrl = getBaseUrl();
72-
final boolean isReply = isReply();
72+
final boolean isCommentReply = isReply();
7373

7474
json.getArray("data").streamAsJsonObjects()
7575
.filter(item -> !item.getBoolean(IS_DELETED))
7676
.map(item -> new PeertubeCommentsInfoItemExtractor(item, null,
77-
url, baseUrl, isReply))
77+
url, baseUrl, isCommentReply))
7878
.forEach(collector::commit);
7979
}
8080

8181
private void collectRepliesFrom(@Nonnull final CommentsInfoItemsCollector collector,
8282
@Nonnull final JsonObject json) throws ParsingException {
8383
final String url = getUrl();
8484
final String baseUrl = getBaseUrl();
85-
final boolean isReply = isReply();
85+
final boolean isCommentReply = isReply();
8686

8787
json.getArray(CHILDREN).streamAsJsonObjects()
8888
.filter(content -> !content.getObject("comment")
@@ -91,7 +91,7 @@ private void collectRepliesFrom(@Nonnull final CommentsInfoItemsCollector collec
9191
final JsonObject item = content.getObject("comment");
9292
final JsonArray children = content.getArray(CHILDREN);
9393
return new PeertubeCommentsInfoItemExtractor(item, children, url, baseUrl,
94-
isReply);
94+
isCommentReply);
9595
})
9696
.forEach(collector::commit);
9797
}

0 commit comments

Comments
 (0)