Fix typos (#12)

This commit is contained in:
Coffeemaker 2017-06-29 19:34:21 +02:00 committed by TheAssassin
parent ab530381cf
commit 7581c1200b
6 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@ public class ChannelInfo implements Serializable{
throws ParsingException {
ChannelInfo info = new ChannelInfo();
// importand data
// important data
info.service_id = extractor.getServiceId();
info.channel_name = extractor.getChannelName();
info.hasNextPage = extractor.hasNextPage();

View File

@ -34,7 +34,7 @@ public class ChannelInfoItemCollector extends InfoItemCollector {
public ChannelInfoItem extract(ChannelInfoItemExtractor extractor) throws ParsingException {
ChannelInfoItem resultItem = new ChannelInfoItem();
// importand information
// important information
resultItem.channelName = extractor.getChannelName();
resultItem.serviceId = getServiceId();

View File

@ -228,7 +228,7 @@ public class YoutubeChannelExtractor extends ChannelExtractor {
return li.text();
}
} catch(Exception e) {
throw new ParsingException("Could not get uplaod date", e);
throw new ParsingException("Could not get upload date", e);
}
}

View File

@ -91,7 +91,7 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
return div.select("li").first().text();
}
} catch(Exception e) {
throw new ParsingException("Could not get uplaod date", e);
throw new ParsingException("Could not get upload date", e);
}
}

View File

@ -48,7 +48,7 @@ public class StreamInfoItemCollector extends InfoItemCollector {
}
StreamInfoItem resultItem = new StreamInfoItem();
// importand information
// important information
resultItem.service_id = getServiceId();
resultItem.webpage_url = extractor.getWebPageUrl();
if (getUrlIdHandler() == null) {

View File

@ -40,7 +40,7 @@ public class VideoStream implements Serializable {
this.isVideoOnly = isVideoOnly;
}
// reveals whether two streams are the same, but have diferent urls
// reveals whether two streams are the same, but have different urls
public boolean equalStats(VideoStream cmp) {
return format == cmp.format && resolution.equals(cmp.resolution);
}