diff --git a/NzbDrone.6.0.ReSharper b/NzbDrone.6.0.ReSharper index 04c374209..556e59d34 100644 --- a/NzbDrone.6.0.ReSharper +++ b/NzbDrone.6.0.ReSharper @@ -118,7 +118,8 @@ - 43BD3BBD-1531-4D8F-9C08-E1CD544AB2CD/d:Content + 43BD3BBD-1531-4D8F-9C08-E1CD544AB2CD/d:Content/d:2011.2.712 + 43BD3BBD-1531-4D8F-9C08-E1CD544AB2CD/d:Content/d:jQueryUI diff --git a/NzbDrone.Core/Providers/GrowlProvider.cs b/NzbDrone.Core/Providers/GrowlProvider.cs index cc1dd44db..05cd42942 100644 --- a/NzbDrone.Core/Providers/GrowlProvider.cs +++ b/NzbDrone.Core/Providers/GrowlProvider.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using Growl.Connector; using NLog; @@ -9,7 +8,7 @@ namespace NzbDrone.Core.Providers { public class GrowlProvider { - private readonly Logger Logger = LogManager.GetCurrentClassLogger(); + private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); private readonly Application _growlApplication = new Application("NzbDrone"); private GrowlConnector _growlConnector; diff --git a/NzbDrone.Core/Providers/ProwlProvider.cs b/NzbDrone.Core/Providers/ProwlProvider.cs index 4634b24ca..463d13c90 100644 --- a/NzbDrone.Core/Providers/ProwlProvider.cs +++ b/NzbDrone.Core/Providers/ProwlProvider.cs @@ -1,7 +1,5 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; using NLog; using Prowlin; @@ -9,12 +7,7 @@ namespace NzbDrone.Core.Providers { public class ProwlProvider { - private readonly Logger Logger = LogManager.GetLogger("ProwlProvider"); - - public ProwlProvider() - { - - } + private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); public virtual bool Verify(string apiKey) { @@ -32,7 +25,7 @@ public virtual bool Verify(string apiKey) return true; } - catch(Exception ex) + catch (Exception ex) { Logger.TraceException(ex.Message, ex); Logger.Warn("Invalid API Key: {0}", apiKey); @@ -47,11 +40,11 @@ public virtual bool SendNotification(string title, string message, string apiKey { var notification = new Notification { - Application = "NzbDrone", - Description = message, - Event = title, - Priority = priority, - Url = url + Application = "NzbDrone", + Description = message, + Event = title, + Priority = priority, + Url = url }; foreach (var apiKey in apiKeys.Split(',')) @@ -67,7 +60,7 @@ public virtual bool SendNotification(string title, string message, string apiKey return true; } - catch(Exception ex) + catch (Exception ex) { Logger.TraceException(ex.Message, ex); Logger.Warn("Invalid API Key(s): {0}", apiKeys); diff --git a/packages/NLog.2.0.0.2000/lib/net40/NLog.pdb b/packages/NLog.2.0.0.2000/lib/net40/NLog.pdb new file mode 100644 index 000000000..769e5e0cf Binary files /dev/null and b/packages/NLog.2.0.0.2000/lib/net40/NLog.pdb differ