Skip to content

Commit 46654f5

Browse files
committed
Reformatted code
1 parent 2174685 commit 46654f5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.grack.nanojson.JsonArray;
44
import com.grack.nanojson.JsonObject;
5+
56
import org.schabi.newpipe.extractor.comments.CommentsInfoItemExtractor;
67
import org.schabi.newpipe.extractor.exceptions.ParsingException;
78
import org.schabi.newpipe.extractor.localization.DateWrapper;
@@ -115,12 +116,12 @@ public String getTextualVoteCount() throws ParsingException {
115116
*/
116117
try {
117118
// If a comment has no likes voteCount is not set
118-
if(!json.has("voteCount")) {
119+
if (!json.has("voteCount")) {
119120
return EMPTY_STRING;
120121
}
121122

122123
final JsonObject voteCountObj = JsonUtils.getObject(json, "voteCount");
123-
if(voteCountObj.isEmpty()) {
124+
if (voteCountObj.isEmpty()) {
124125
return EMPTY_STRING;
125126
}
126127
return getTextFromObject(voteCountObj);

0 commit comments

Comments
 (0)