removed redundant else

This commit is contained in:
Keivan Beigi
2014-12-06 23:23:11 -08:00
parent 3b087ba922
commit cf77104a02
23 changed files with 145 additions and 232 deletions
+2 -5
View File
@@ -147,10 +147,7 @@ namespace NzbDrone.Core.Indexers
{
return item.Element("enclosure").Attribute("url").Value;
}
else
{
return item.Element("link").Value;
}
return item.Element("link").Value;
}
protected virtual string GetInfoUrl(XElement item)
@@ -174,7 +171,7 @@ namespace NzbDrone.Core.Indexers
{
return GetEnclosureLength(item);
}
else if (ParseSizeInDescription)
if (ParseSizeInDescription)
{
return ParseSize(item.Element("description").Value, true);
}