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:
Ramon
2017-05-16 21:53:11 +02:00
committed by TheAssassin
parent 5907c35dfb
commit 122c464bb4
4 changed files with 4 additions and 16 deletions

View File

@@ -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) {