aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-04 00:10:12 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-04 00:10:12 +0000
commit3ff6850bfdadb9f13f5b05f8f2153e6bfe978da9 (patch)
tree31633170fe1900369271848eb1fa84c25d30e04b
parent2f2bdf7ea0f6ac23f39e0d867e93a90374cc21ae (diff)
downloadnewsaggregator-3ff6850bfdadb9f13f5b05f8f2153e6bfe978da9.tar.gz
newsaggregator-3ff6850bfdadb9f13f5b05f8f2153e6bfe978da9.tar.bz2
newsaggregator-3ff6850bfdadb9f13f5b05f8f2153e6bfe978da9.zip
Formatted code
-rw-r--r--Aggregator/Parser/Parser.cs3
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);
}
}