Skip to content

Commit 4bc90cd

Browse files
authored
Merge pull request #957 from AudricV/fix-checkstyle-error
Fix Checkstyle error in YoutubeCommentsInfoItemExtractor
2 parents 9ffdd09 + c230d84 commit 4bc90cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsInfoItemExtractor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ public String getUploaderUrl() throws ParsingException {
251251

252252
@Override
253253
public int getReplyCount() throws ParsingException {
254-
final JsonObject commentRenderer = getCommentRenderer();
255-
if (commentRenderer.has("replyCount")) {
256-
return commentRenderer.getInt("replyCount");
254+
final JsonObject commentRendererJsonObject = getCommentRenderer();
255+
if (commentRendererJsonObject.has("replyCount")) {
256+
return commentRendererJsonObject.getInt("replyCount");
257257
}
258258
return UNKNOWN_REPLY_COUNT;
259259
}

0 commit comments

Comments
 (0)