diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-04 00:10:12 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-04 00:10:12 +0000 |
commit | 3ff6850bfdadb9f13f5b05f8f2153e6bfe978da9 (patch) | |
tree | 31633170fe1900369271848eb1fa84c25d30e04b /Aggregator | |
parent | 2f2bdf7ea0f6ac23f39e0d867e93a90374cc21ae (diff) | |
download | newsaggregator-3ff6850bfdadb9f13f5b05f8f2153e6bfe978da9.tar.gz newsaggregator-3ff6850bfdadb9f13f5b05f8f2153e6bfe978da9.tar.bz2 newsaggregator-3ff6850bfdadb9f13f5b05f8f2153e6bfe978da9.zip |
Formatted code
Diffstat (limited to 'Aggregator')
-rw-r--r-- | Aggregator/Parser/Parser.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Aggregator/Parser/Parser.cs b/Aggregator/Parser/Parser.cs index 9e91a77..5a6e7e6 100644 --- a/Aggregator/Parser/Parser.cs +++ b/Aggregator/Parser/Parser.cs @@ -22,7 +22,8 @@ namespace Aggregator.Parser { public static IEnumerable<Article> ParseMultiple(string[] xmls, List<Config> configs) { if (configs.Count == 0 || xmls.Length == 0 || (xmls.Length != configs.Count)) { return null; - } else { + } + else { return xmls.Select((xml, index) => Parse(xml, configs[index])).SelectMany(i => i); } } |