2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-31 14:26:14 +00:00

Fix Checkstyle error in YoutubeCommentsInfoItemExtractor

This commit is contained in:
AudricV
2022-10-29 13:24:19 +02:00
parent 9ffdd0948b
commit c230d84df1

View File

@@ -251,9 +251,9 @@ public class YoutubeCommentsInfoItemExtractor implements CommentsInfoItemExtract
@Override @Override
public int getReplyCount() throws ParsingException { public int getReplyCount() throws ParsingException {
final JsonObject commentRenderer = getCommentRenderer(); final JsonObject commentRendererJsonObject = getCommentRenderer();
if (commentRenderer.has("replyCount")) { if (commentRendererJsonObject.has("replyCount")) {
return commentRenderer.getInt("replyCount"); return commentRendererJsonObject.getInt("replyCount");
} }
return UNKNOWN_REPLY_COUNT; return UNKNOWN_REPLY_COUNT;
} }