diff --git a/NzbDrone/AppMain.cs b/NzbDrone/AppMain.cs index 3960d8929..801ffae68 100644 --- a/NzbDrone/AppMain.cs +++ b/NzbDrone/AppMain.cs @@ -1,12 +1,7 @@ using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; using System.Reflection; -using System.Threading; using NLog; using Ninject; -using NzbDrone.Model; namespace NzbDrone { diff --git a/NzbDrone/ApplicationServer.cs b/NzbDrone/ApplicationServer.cs index 8cb093b15..3da83013c 100644 --- a/NzbDrone/ApplicationServer.cs +++ b/NzbDrone/ApplicationServer.cs @@ -1,9 +1,6 @@ using System; -using System.Diagnostics; using System.Net; -using System.Reflection; using System.ServiceProcess; -using System.Threading; using NLog; using Ninject; using NzbDrone.Providers; diff --git a/NzbDrone/CentralDispatch.cs b/NzbDrone/CentralDispatch.cs index 6c4944f4e..bff41dd9b 100644 --- a/NzbDrone/CentralDispatch.cs +++ b/NzbDrone/CentralDispatch.cs @@ -1,11 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading; -using NLog; +using NLog; using Ninject; -using NzbDrone.Model; using NzbDrone.Providers; namespace NzbDrone @@ -51,7 +45,6 @@ namespace NzbDrone _kernel.Get().ConfigureNlog(); _kernel.Get().CreateDefaultConfigFile(); Logger.Info("Start-up Path:'{0}'", _kernel.Get().ApplicationPath); - Thread.CurrentThread.Name = "Host"; } } } diff --git a/NzbDrone/Providers/ConsoleProvider.cs b/NzbDrone/Providers/ConsoleProvider.cs index e2281e905..cd45ce4f4 100644 --- a/NzbDrone/Providers/ConsoleProvider.cs +++ b/NzbDrone/Providers/ConsoleProvider.cs @@ -1,7 +1,5 @@ using System; using System.Diagnostics; -using System.Reflection; -using NLog; namespace NzbDrone.Providers { diff --git a/NzbDrone/Providers/IISProvider.cs b/NzbDrone/Providers/IISProvider.cs index 0e78fd8b3..ce2478f7d 100644 --- a/NzbDrone/Providers/IISProvider.cs +++ b/NzbDrone/Providers/IISProvider.cs @@ -120,7 +120,7 @@ namespace NzbDrone.Providers if (e.Data.Contains(" NzbDrone.")) { - System.Console.WriteLine(e.Data); + Console.WriteLine(e.Data); return; } diff --git a/NzbDrone/Providers/MonitoringProvider.cs b/NzbDrone/Providers/MonitoringProvider.cs index fecd3de10..55c80d0af 100644 --- a/NzbDrone/Providers/MonitoringProvider.cs +++ b/NzbDrone/Providers/MonitoringProvider.cs @@ -103,7 +103,7 @@ namespace NzbDrone.Providers private static void AppDomainException(object excepion) { - System.Console.WriteLine("EPIC FAIL: {0}", excepion); + Console.WriteLine("EPIC FAIL: {0}", excepion); Logger.Fatal("EPIC FAIL: {0}", excepion); #if RELEASE diff --git a/NzbDrone/Router.cs b/NzbDrone/Router.cs index 265ecce69..7e72b3906 100644 --- a/NzbDrone/Router.cs +++ b/NzbDrone/Router.cs @@ -1,9 +1,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; -using System.Text; -using System.Threading; using NLog; using NzbDrone.Model; using NzbDrone.Providers;