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 { throws ParsingException {
ChannelInfo info = new ChannelInfo(); ChannelInfo info = new ChannelInfo();
// importand data // important data
info.service_id = extractor.getServiceId(); info.service_id = extractor.getServiceId();
info.channel_name = extractor.getChannelName(); info.channel_name = extractor.getChannelName();
info.hasNextPage = extractor.hasNextPage(); info.hasNextPage = extractor.hasNextPage();

View file

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

View file

@ -228,7 +228,7 @@ public class YoutubeChannelExtractor extends ChannelExtractor {
return li.text(); return li.text();
} }
} catch(Exception e) { } 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(); return div.select("li").first().text();
} }
} catch(Exception e) { } 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(); StreamInfoItem resultItem = new StreamInfoItem();
// importand information // important information
resultItem.service_id = getServiceId(); resultItem.service_id = getServiceId();
resultItem.webpage_url = extractor.getWebPageUrl(); resultItem.webpage_url = extractor.getWebPageUrl();
if (getUrlIdHandler() == null) { if (getUrlIdHandler() == null) {

View file

@ -40,7 +40,7 @@ public class VideoStream implements Serializable {
this.isVideoOnly = isVideoOnly; 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) { public boolean equalStats(VideoStream cmp) {
return format == cmp.format && resolution.equals(cmp.resolution); return format == cmp.format && resolution.equals(cmp.resolution);
} }