1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-27 22:57:09 -04:00

Reformat and apply Stylecop rules

This commit is contained in:
ta264
2019-12-22 22:08:53 +00:00
committed by Qstick
parent d4fa9b7345
commit f02fa629cc
1186 changed files with 7105 additions and 5616 deletions
+7 -5
View File
@@ -232,6 +232,7 @@ namespace NzbDrone.Core.Indexers
{
return GetEnclosureLength(item);
}
if (ParseSizeInDescription && item.Element("description") != null)
{
return ParseSize(item.Element("description").Value, true);
@@ -260,11 +261,11 @@ namespace NzbDrone.Core.Indexers
try
{
return new RssEnclosure
{
Url = v.Attribute("url").Value,
Type = v.Attribute("type").Value,
Length = (long)v.Attribute("length")
};
{
Url = v.Attribute("url").Value,
Type = v.Attribute("type").Value,
Length = (long)v.Attribute("length")
};
}
catch (Exception e)
{
@@ -394,6 +395,7 @@ namespace NzbDrone.Core.Indexers
return (long)value;
}
}
return 0;
}