From 7581c1200b7795d8fbb0769930f5981a962e347b Mon Sep 17 00:00:00 2001 From: Coffeemaker Date: Thu, 29 Jun 2017 19:34:21 +0200 Subject: [PATCH] Fix typos (#12) --- channel/ChannelInfo.java | 2 +- channel/ChannelInfoItemCollector.java | 2 +- services/youtube/YoutubeChannelExtractor.java | 2 +- services/youtube/YoutubeStreamInfoItemExtractor.java | 2 +- stream_info/StreamInfoItemCollector.java | 2 +- stream_info/VideoStream.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/channel/ChannelInfo.java b/channel/ChannelInfo.java index 326c512b..758d0bbc 100644 --- a/channel/ChannelInfo.java +++ b/channel/ChannelInfo.java @@ -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(); diff --git a/channel/ChannelInfoItemCollector.java b/channel/ChannelInfoItemCollector.java index 525820d4..a89a1457 100644 --- a/channel/ChannelInfoItemCollector.java +++ b/channel/ChannelInfoItemCollector.java @@ -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(); diff --git a/services/youtube/YoutubeChannelExtractor.java b/services/youtube/YoutubeChannelExtractor.java index e70e4944..c1581171 100644 --- a/services/youtube/YoutubeChannelExtractor.java +++ b/services/youtube/YoutubeChannelExtractor.java @@ -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); } } diff --git a/services/youtube/YoutubeStreamInfoItemExtractor.java b/services/youtube/YoutubeStreamInfoItemExtractor.java index 25b18541..2f442eea 100644 --- a/services/youtube/YoutubeStreamInfoItemExtractor.java +++ b/services/youtube/YoutubeStreamInfoItemExtractor.java @@ -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); } } diff --git a/stream_info/StreamInfoItemCollector.java b/stream_info/StreamInfoItemCollector.java index 03ff7bd8..80e32f0c 100644 --- a/stream_info/StreamInfoItemCollector.java +++ b/stream_info/StreamInfoItemCollector.java @@ -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) { diff --git a/stream_info/VideoStream.java b/stream_info/VideoStream.java index cff4c228..4b75ef42 100644 --- a/stream_info/VideoStream.java +++ b/stream_info/VideoStream.java @@ -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); }