mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-29 00:10:35 +05:30
Merge pull request #957 from AudricV/fix-checkstyle-error
Fix Checkstyle error in YoutubeCommentsInfoItemExtractor
This commit is contained in:
commit
4bc90cd9d8
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user