Skip to content

Commit 5028396

Browse files
committed
Improve names and formatting
1 parent 1e0c802 commit 5028396

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ public static CommentsInfo getInfo(final String url) throws IOException, Extract
2424
return getInfo(NewPipe.getServiceByUrl(url), url);
2525
}
2626

27-
public static CommentsInfo getInfo(final StreamingService serviceByUrl, final String url)
27+
public static CommentsInfo getInfo(final StreamingService service, final String url)
2828
throws ExtractionException, IOException {
29-
return getInfo(serviceByUrl.getCommentsExtractor(url));
29+
return getInfo(service.getCommentsExtractor(url));
3030
}
3131

3232
public static CommentsInfo getInfo(final CommentsExtractor commentsExtractor)
@@ -63,7 +63,7 @@ public static InfoItemsPage<CommentsInfoItem> getMoreItems(
6363
final StreamingService service,
6464
final CommentsInfo commentsInfo,
6565
final Page page) throws IOException, ExtractionException {
66-
if (null == commentsInfo.getCommentsExtractor()) {
66+
if (commentsInfo.getCommentsExtractor() == null) {
6767
commentsInfo.setCommentsExtractor(service.getCommentsExtractor(commentsInfo.getUrl()));
6868
commentsInfo.getCommentsExtractor().fetchPage();
6969
}

0 commit comments

Comments
 (0)