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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user