diff options
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); } } |