* Stylecop Rules and Fixes
This commit is contained in:
Qstick 2020-01-03 07:49:24 -05:00
parent a602611a5f
commit a4b78b44ce
1307 changed files with 8702 additions and 7403 deletions

View file

@ -4,10 +4,10 @@ using System.Globalization;
using System.Linq;
using NLog;
using NzbDrone.Common.EnsureThat;
using NzbDrone.Common.Http.Proxy;
using NzbDrone.Core.Configuration.Events;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Messaging.Events;
using NzbDrone.Common.Http.Proxy;
using NzbDrone.Core.Qualities;
using NzbDrone.Core.Security;
@ -57,7 +57,10 @@ namespace NzbDrone.Core.Configuration
{
object currentValue;
allWithDefaults.TryGetValue(configValue.Key, out currentValue);
if (currentValue == null || configValue.Value == null) continue;
if (currentValue == null || configValue.Value == null)
{
continue;
}
var equal = configValue.Value.ToString().Equals(currentValue.ToString());
@ -108,9 +111,9 @@ namespace NzbDrone.Core.Configuration
public int MaximumSize
{
get { return GetValueInt("MaximumSize", 0);}
get { return GetValueInt("MaximumSize", 0); }
set { SetValue("MaximumSize", value);}
set { SetValue("MaximumSize", value); }
}
public int MinimumAge