Auto optimisations/cleanups performed by Android Studio... (#7)
* Auto optimisations/cleanups performed by Android Studio... * Fixed indentation: uses spaces instead of tabs
This commit is contained in:
@@ -164,11 +164,7 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
|
||||
|
||||
@Override
|
||||
public boolean isAd() throws ParsingException {
|
||||
if(!item.select("span[class*=\"icon-not-available\"]").isEmpty()) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return !item.select("span[class*=\"icon-not-available\"]").isEmpty();
|
||||
}
|
||||
|
||||
private boolean isLiveStream(Element item) {
|
||||
|
||||
Reference in New Issue
Block a user