From ec63053fe70872f79efaffc93aebfb970b86dc29 Mon Sep 17 00:00:00 2001 From: kayone Date: Tue, 19 Nov 2013 16:42:17 -0800 Subject: [PATCH] cleaned up using directives. --- .../Authentication/AuthenticationService.cs | 3 +-- .../Authentication/EnableStatelessAuthInNancy.cs | 1 - src/NzbDrone.Api/ClientSchema/SchemaDeserializer.cs | 8 +------- src/NzbDrone.Api/DiskSpace/DiskSpaceResource.cs | 3 --- src/NzbDrone.Api/EpisodeFiles/EpisodeFileModule.cs | 3 +-- src/NzbDrone.Api/Episodes/EpisodeModule.cs | 3 +-- src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs | 2 -- src/NzbDrone.Api/History/HistoryModule.cs | 2 -- src/NzbDrone.Api/Indexers/ReleaseModule.cs | 2 -- src/NzbDrone.Api/NancyBootstrapper.cs | 1 - src/NzbDrone.Api/Notifications/NotificationModule.cs | 10 +--------- .../Notifications/NotificationSchemaModule.cs | 3 +-- src/NzbDrone.Api/Queue/QueueModule.cs | 1 - src/NzbDrone.Api/Queue/QueueResource.cs | 1 - src/NzbDrone.Api/Update/UpdateModule.cs | 2 -- src/NzbDrone.App.Test/MonitoringProviderTest.cs | 1 - src/NzbDrone.Automation.Test/AutomationTest.cs | 6 +----- .../Properties/AssemblyInfo.cs | 1 - .../EnsureThat/EnsureStringExtensions.cs | 3 --- .../Blacklisting/BlacklistRepositoryFixture.cs | 3 --- .../Blacklisting/BlacklistServiceFixture.cs | 5 +---- .../SabProviderTests/SabProviderFixture.cs | 1 - .../HistoryTests/HistoryRepositoryFixture.cs | 1 - .../Housekeepers/CleanupOrphanedHistoryItemsFixture.cs | 3 +-- .../Specifications/NotSampleSpecificationFixture.cs | 1 - .../NotificationTests/Xbmc/OnDownloadFixture.cs | 4 +--- src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs | 1 - .../ParsingServiceTests/GetSeriesFixture.cs | 6 +----- .../ParserTests/SeriesTitleInfoFixture.cs | 6 +----- src/NzbDrone.Core.Test/Providers/XemProxyFixture.cs | 1 - .../RootFolderTests/FreeSpaceOnDrivesFixture.cs | 1 - .../ThingiProvider/ProviderBaseFixture.cs | 1 - src/NzbDrone.Core/Blacklisting/BlacklistRepository.cs | 3 +-- src/NzbDrone.Core/Blacklisting/BlacklistService.cs | 3 --- .../Migration/022_move_indexer_to_generic_provider.cs | 6 +----- .../Migration/023_add_config_contract_to_indexers.cs | 6 +----- src/NzbDrone.Core/Datastore/TableMapping.cs | 1 - .../Specifications/BlacklistSpecification.cs | 1 - .../Specifications/NotInQueueSpecification.cs | 3 --- .../Specifications/RssSync/HistorySpecification.cs | 1 - src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs | 1 - .../Download/Clients/BlackholeProvider.cs | 3 +-- .../Download/Clients/Sabnzbd/SabnzbdClient.cs | 2 -- src/NzbDrone.Core/Download/FailedDownloadService.cs | 3 +-- src/NzbDrone.Core/Download/HistoryItem.cs | 1 - .../Download/RedownloadFailedDownloadService.cs | 3 +-- src/NzbDrone.Core/History/HistoryService.cs | 1 - .../Indexers/Exceptions/ApiKeyException.cs | 6 +----- src/NzbDrone.Core/Indexers/IndexerFactory.cs | 3 +-- src/NzbDrone.Core/Indexers/Newznab/Newznab.cs | 1 - src/NzbDrone.Core/Indexers/Newznab/NewznabException.cs | 6 +----- src/NzbDrone.Core/Indexers/Newznab/NewznabParser.cs | 2 -- src/NzbDrone.Core/Jobs/TaskManager.cs | 1 - .../MediaFiles/EpisodeFileMovingService.cs | 1 - .../MediaFiles/EpisodeImport/ImportDecisionMaker.cs | 1 - .../Messaging/Commands/CommandEqualityComparer.cs | 1 - src/NzbDrone.Core/Notifications/NotificationService.cs | 4 ---- src/NzbDrone.Core/Parser/InvalidDateException.cs | 6 +----- src/NzbDrone.Core/Parser/Model/SeriesTitleInfo.cs | 7 +------ src/NzbDrone.Core/Queue/QueueScheduler.cs | 6 +----- src/NzbDrone.Core/Queue/QueueService.cs | 5 +---- src/NzbDrone.Core/RootFolders/RootFolderService.cs | 1 - src/NzbDrone.Core/ThingiProvider/ProviderRepository.cs | 3 +-- .../Update/Commands/InstallUpdateCommand.cs | 6 +----- src/NzbDrone.Core/Update/InstallUpdateService.cs | 1 - src/NzbDrone.Core/Update/RecentUpdateProvider.cs | 5 +---- src/NzbDrone.Host/ApplicationServer.cs | 1 - src/NzbDrone.Host/MainAppContainerBuilder.cs | 1 - src/NzbDrone.Host/PriorityMonitor.cs | 1 - .../ReleaseIntegrationTest.cs | 3 +-- src/NzbDrone.Test.Common/TestBase.cs | 1 - src/NzbDrone.Update.Test/ProgramFixture.cs | 1 - src/NzbDrone.Update/UpdateApp.cs | 1 - src/NzbDrone/SysTray/SysTrayApp.cs | 1 - 74 files changed, 29 insertions(+), 175 deletions(-) diff --git a/src/NzbDrone.Api/Authentication/AuthenticationService.cs b/src/NzbDrone.Api/Authentication/AuthenticationService.cs index 961dc22e42..af9194c8dd 100644 --- a/src/NzbDrone.Api/Authentication/AuthenticationService.cs +++ b/src/NzbDrone.Api/Authentication/AuthenticationService.cs @@ -1,5 +1,4 @@ -using System; -using Nancy; +using Nancy; using Nancy.Authentication.Basic; using Nancy.Security; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Api/Authentication/EnableStatelessAuthInNancy.cs b/src/NzbDrone.Api/Authentication/EnableStatelessAuthInNancy.cs index bbdf22e856..82ace53148 100644 --- a/src/NzbDrone.Api/Authentication/EnableStatelessAuthInNancy.cs +++ b/src/NzbDrone.Api/Authentication/EnableStatelessAuthInNancy.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using Nancy; using Nancy.Bootstrapper; using NzbDrone.Api.Extensions; diff --git a/src/NzbDrone.Api/ClientSchema/SchemaDeserializer.cs b/src/NzbDrone.Api/ClientSchema/SchemaDeserializer.cs index 36d2a68e87..6af07257f0 100644 --- a/src/NzbDrone.Api/ClientSchema/SchemaDeserializer.cs +++ b/src/NzbDrone.Api/ClientSchema/SchemaDeserializer.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using NzbDrone.Common; -using NzbDrone.Common.Reflection; -using NzbDrone.Core.Annotations; - -namespace NzbDrone.Api.ClientSchema +namespace NzbDrone.Api.ClientSchema { public static class SchemaDeserializer { diff --git a/src/NzbDrone.Api/DiskSpace/DiskSpaceResource.cs b/src/NzbDrone.Api/DiskSpace/DiskSpaceResource.cs index 039e4b0c3f..6358ed9532 100644 --- a/src/NzbDrone.Api/DiskSpace/DiskSpaceResource.cs +++ b/src/NzbDrone.Api/DiskSpace/DiskSpaceResource.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using NzbDrone.Api.REST; namespace NzbDrone.Api.DiskSpace diff --git a/src/NzbDrone.Api/EpisodeFiles/EpisodeFileModule.cs b/src/NzbDrone.Api/EpisodeFiles/EpisodeFileModule.cs index f9df68deec..be8e929522 100644 --- a/src/NzbDrone.Api/EpisodeFiles/EpisodeFileModule.cs +++ b/src/NzbDrone.Api/EpisodeFiles/EpisodeFileModule.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using NzbDrone.Api.REST; using NzbDrone.Core.Datastore.Events; using NzbDrone.Core.MediaFiles; diff --git a/src/NzbDrone.Api/Episodes/EpisodeModule.cs b/src/NzbDrone.Api/Episodes/EpisodeModule.cs index aaab212a8e..46f6b7f945 100644 --- a/src/NzbDrone.Api/Episodes/EpisodeModule.cs +++ b/src/NzbDrone.Api/Episodes/EpisodeModule.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using NzbDrone.Api.Mapping; using NzbDrone.Api.REST; using NzbDrone.Core.Datastore.Events; diff --git a/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs b/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs index ae950aae08..87a46c4621 100644 --- a/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs +++ b/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs @@ -1,7 +1,5 @@ -using System; using System.IO; using Nancy; -using Nancy.Responses; using NLog; using NzbDrone.Common; using NzbDrone.Common.EnvironmentInfo; diff --git a/src/NzbDrone.Api/History/HistoryModule.cs b/src/NzbDrone.Api/History/HistoryModule.cs index 405caae93a..7b0aa3c7e1 100644 --- a/src/NzbDrone.Api/History/HistoryModule.cs +++ b/src/NzbDrone.Api/History/HistoryModule.cs @@ -1,8 +1,6 @@ using System; using Nancy; -using Nancy.ModelBinding; using NzbDrone.Api.Extensions; -using NzbDrone.Common.Serializer; using NzbDrone.Core.Datastore; using NzbDrone.Core.Download; using NzbDrone.Core.History; diff --git a/src/NzbDrone.Api/Indexers/ReleaseModule.cs b/src/NzbDrone.Api/Indexers/ReleaseModule.cs index 2fd32e2ea9..0f91ad102b 100644 --- a/src/NzbDrone.Api/Indexers/ReleaseModule.cs +++ b/src/NzbDrone.Api/Indexers/ReleaseModule.cs @@ -2,7 +2,6 @@ using FluentValidation; using Nancy; using NzbDrone.Api.Mapping; -using NzbDrone.Api.REST; using NzbDrone.Core.DecisionEngine; using NzbDrone.Core.DecisionEngine.Specifications; using NzbDrone.Core.Download; @@ -10,7 +9,6 @@ using NzbDrone.Core.Indexers; using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; -using NzbDrone.Core.Tv; using Omu.ValueInjecter; using System.Linq; using Nancy.ModelBinding; diff --git a/src/NzbDrone.Api/NancyBootstrapper.cs b/src/NzbDrone.Api/NancyBootstrapper.cs index bee5819212..d9496e038d 100644 --- a/src/NzbDrone.Api/NancyBootstrapper.cs +++ b/src/NzbDrone.Api/NancyBootstrapper.cs @@ -1,7 +1,6 @@ using NLog; using Nancy.Bootstrapper; using Nancy.Diagnostics; -using NzbDrone.Api.Authentication; using NzbDrone.Api.ErrorManagement; using NzbDrone.Api.Extensions.Pipelines; using NzbDrone.Common.Instrumentation; diff --git a/src/NzbDrone.Api/Notifications/NotificationModule.cs b/src/NzbDrone.Api/Notifications/NotificationModule.cs index 25bf43419d..d80d91e87e 100644 --- a/src/NzbDrone.Api/Notifications/NotificationModule.cs +++ b/src/NzbDrone.Api/Notifications/NotificationModule.cs @@ -1,12 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using NzbDrone.Api.ClientSchema; -using NzbDrone.Api.Mapping; -using NzbDrone.Api.REST; -using NzbDrone.Common.Reflection; -using NzbDrone.Core.Notifications; -using Omu.ValueInjecter; +using NzbDrone.Core.Notifications; namespace NzbDrone.Api.Notifications { diff --git a/src/NzbDrone.Api/Notifications/NotificationSchemaModule.cs b/src/NzbDrone.Api/Notifications/NotificationSchemaModule.cs index db661b5c19..920b9bb7b4 100644 --- a/src/NzbDrone.Api/Notifications/NotificationSchemaModule.cs +++ b/src/NzbDrone.Api/Notifications/NotificationSchemaModule.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using NzbDrone.Api.ClientSchema; using NzbDrone.Core.Notifications; using Omu.ValueInjecter; diff --git a/src/NzbDrone.Api/Queue/QueueModule.cs b/src/NzbDrone.Api/Queue/QueueModule.cs index efc5ac7ff5..148a2210f1 100644 --- a/src/NzbDrone.Api/Queue/QueueModule.cs +++ b/src/NzbDrone.Api/Queue/QueueModule.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using NzbDrone.Core.Datastore.Events; -using NzbDrone.Core.Download; using NzbDrone.Core.Messaging.Commands; using NzbDrone.Core.Messaging.Events; using NzbDrone.Core.Queue; diff --git a/src/NzbDrone.Api/Queue/QueueResource.cs b/src/NzbDrone.Api/Queue/QueueResource.cs index 429a25c441..94a7f07fc9 100644 --- a/src/NzbDrone.Api/Queue/QueueResource.cs +++ b/src/NzbDrone.Api/Queue/QueueResource.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using NzbDrone.Api.REST; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Api/Update/UpdateModule.cs b/src/NzbDrone.Api/Update/UpdateModule.cs index c35f3f50f5..02696a9b8d 100644 --- a/src/NzbDrone.Api/Update/UpdateModule.cs +++ b/src/NzbDrone.Api/Update/UpdateModule.cs @@ -1,9 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; -using Nancy; using Newtonsoft.Json; -using NzbDrone.Api.Extensions; using NzbDrone.Api.REST; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Core.Update; diff --git a/src/NzbDrone.App.Test/MonitoringProviderTest.cs b/src/NzbDrone.App.Test/MonitoringProviderTest.cs index f1e4b0a9b5..e980d2c461 100644 --- a/src/NzbDrone.App.Test/MonitoringProviderTest.cs +++ b/src/NzbDrone.App.Test/MonitoringProviderTest.cs @@ -2,7 +2,6 @@ using FizzWare.NBuilder; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Model; using NzbDrone.Common.Processes; using NzbDrone.Host; diff --git a/src/NzbDrone.Automation.Test/AutomationTest.cs b/src/NzbDrone.Automation.Test/AutomationTest.cs index 0f1fd5742b..a7f3645cf0 100644 --- a/src/NzbDrone.Automation.Test/AutomationTest.cs +++ b/src/NzbDrone.Automation.Test/AutomationTest.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Threading; using FluentAssertions; using NLog; using NLog.Config; @@ -12,9 +10,7 @@ using NzbDrone.Test.Common; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; -using OpenQA.Selenium.IE; using OpenQA.Selenium.Remote; -using OpenQA.Selenium.Support.UI; namespace NzbDrone.Automation.Test { diff --git a/src/NzbDrone.Automation.Test/Properties/AssemblyInfo.cs b/src/NzbDrone.Automation.Test/Properties/AssemblyInfo.cs index e99cbaa728..849fe1d0c7 100644 --- a/src/NzbDrone.Automation.Test/Properties/AssemblyInfo.cs +++ b/src/NzbDrone.Automation.Test/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/NzbDrone.Common/EnsureThat/EnsureStringExtensions.cs b/src/NzbDrone.Common/EnsureThat/EnsureStringExtensions.cs index 78435ee007..ede83ca40c 100644 --- a/src/NzbDrone.Common/EnsureThat/EnsureStringExtensions.cs +++ b/src/NzbDrone.Common/EnsureThat/EnsureStringExtensions.cs @@ -1,7 +1,4 @@ -using System.Collections; -using System.Collections.Generic; using System.Diagnostics; -using System.Linq; using System.Text.RegularExpressions; using NzbDrone.Common.EnsureThat.Resources; using NzbDrone.Common.EnvironmentInfo; diff --git a/src/NzbDrone.Core.Test/Blacklisting/BlacklistRepositoryFixture.cs b/src/NzbDrone.Core.Test/Blacklisting/BlacklistRepositoryFixture.cs index 39ff23c961..6629809f70 100644 --- a/src/NzbDrone.Core.Test/Blacklisting/BlacklistRepositoryFixture.cs +++ b/src/NzbDrone.Core.Test/Blacklisting/BlacklistRepositoryFixture.cs @@ -1,12 +1,9 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using FluentAssertions; -using Moq; using NUnit.Framework; using NzbDrone.Core.Blacklisting; -using NzbDrone.Core.Download; using NzbDrone.Core.Qualities; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core.Test/Blacklisting/BlacklistServiceFixture.cs b/src/NzbDrone.Core.Test/Blacklisting/BlacklistServiceFixture.cs index 85d19db97c..8e3bec1b9f 100644 --- a/src/NzbDrone.Core.Test/Blacklisting/BlacklistServiceFixture.cs +++ b/src/NzbDrone.Core.Test/Blacklisting/BlacklistServiceFixture.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; using Moq; using NUnit.Framework; using NzbDrone.Core.Blacklisting; diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabProviderTests/SabProviderFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabProviderTests/SabProviderFixture.cs index 615c7a7e4a..da05831210 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabProviderTests/SabProviderFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabProviderTests/SabProviderFixture.cs @@ -1,7 +1,6 @@ using System; using System.IO; using System.Linq; -using System.Net; using FizzWare.NBuilder; using FluentAssertions; using Moq; diff --git a/src/NzbDrone.Core.Test/HistoryTests/HistoryRepositoryFixture.cs b/src/NzbDrone.Core.Test/HistoryTests/HistoryRepositoryFixture.cs index 9b8a906434..4ccc2364b1 100644 --- a/src/NzbDrone.Core.Test/HistoryTests/HistoryRepositoryFixture.cs +++ b/src/NzbDrone.Core.Test/HistoryTests/HistoryRepositoryFixture.cs @@ -4,7 +4,6 @@ using NUnit.Framework; using NzbDrone.Core.History; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Tv; namespace NzbDrone.Core.Test.HistoryTests { diff --git a/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupOrphanedHistoryItemsFixture.cs b/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupOrphanedHistoryItemsFixture.cs index df24add3e2..3ebf89dbdf 100644 --- a/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupOrphanedHistoryItemsFixture.cs +++ b/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupOrphanedHistoryItemsFixture.cs @@ -1,5 +1,4 @@ -using System; -using FizzWare.NBuilder; +using FizzWare.NBuilder; using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Housekeeping.Housekeepers; diff --git a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs index 62c610bbff..b8fe97056a 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs @@ -10,7 +10,6 @@ using NzbDrone.Core.Qualities; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Tv; -using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Specifications { diff --git a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/OnDownloadFixture.cs b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/OnDownloadFixture.cs index fff54ac020..c43786614a 100644 --- a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/OnDownloadFixture.cs +++ b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/OnDownloadFixture.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Text; using FizzWare.NBuilder; using Moq; using NUnit.Framework; diff --git a/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs index c80d578b95..f9d6d1ac38 100644 --- a/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs @@ -1,7 +1,6 @@ using System; using System.Linq; using FluentAssertions; -using Moq; using NUnit.Framework; using NzbDrone.Common.Expansive; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core.Test/ParserTests/ParsingServiceTests/GetSeriesFixture.cs b/src/NzbDrone.Core.Test/ParserTests/ParsingServiceTests/GetSeriesFixture.cs index bad109bf95..bf4b399b51 100644 --- a/src/NzbDrone.Core.Test/ParserTests/ParsingServiceTests/GetSeriesFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/ParsingServiceTests/GetSeriesFixture.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Moq; +using Moq; using NUnit.Framework; using NzbDrone.Core.Parser; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/ParserTests/SeriesTitleInfoFixture.cs b/src/NzbDrone.Core.Test/ParserTests/SeriesTitleInfoFixture.cs index 5f2e00b9c9..9c53ec5aaf 100644 --- a/src/NzbDrone.Core.Test/ParserTests/SeriesTitleInfoFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/SeriesTitleInfoFixture.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using FluentAssertions; +using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/Providers/XemProxyFixture.cs b/src/NzbDrone.Core.Test/Providers/XemProxyFixture.cs index e8501e4010..58ae5ec955 100644 --- a/src/NzbDrone.Core.Test/Providers/XemProxyFixture.cs +++ b/src/NzbDrone.Core.Test/Providers/XemProxyFixture.cs @@ -2,7 +2,6 @@ using System.Linq; using FluentAssertions; using NUnit.Framework; -using NzbDrone.Core.DataAugmentation; using NzbDrone.Core.DataAugmentation.Xem; using NzbDrone.Core.Test.Framework; using NzbDrone.Test.Common.Categories; diff --git a/src/NzbDrone.Core.Test/RootFolderTests/FreeSpaceOnDrivesFixture.cs b/src/NzbDrone.Core.Test/RootFolderTests/FreeSpaceOnDrivesFixture.cs index f236c103f1..a7f2310c36 100644 --- a/src/NzbDrone.Core.Test/RootFolderTests/FreeSpaceOnDrivesFixture.cs +++ b/src/NzbDrone.Core.Test/RootFolderTests/FreeSpaceOnDrivesFixture.cs @@ -7,7 +7,6 @@ using Moq; using NUnit.Framework; using NzbDrone.Common; -using NzbDrone.Core.Datastore; using NzbDrone.Core.RootFolders; using NzbDrone.Core.Test.Framework; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Core.Test/ThingiProvider/ProviderBaseFixture.cs b/src/NzbDrone.Core.Test/ThingiProvider/ProviderBaseFixture.cs index 641e62dca7..05c4229f2a 100644 --- a/src/NzbDrone.Core.Test/ThingiProvider/ProviderBaseFixture.cs +++ b/src/NzbDrone.Core.Test/ThingiProvider/ProviderBaseFixture.cs @@ -4,7 +4,6 @@ using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.Newznab; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.ThingiProvider; namespace NzbDrone.Core.Test.ThingiProvider { diff --git a/src/NzbDrone.Core/Blacklisting/BlacklistRepository.cs b/src/NzbDrone.Core/Blacklisting/BlacklistRepository.cs index c0b7e5fbff..1a641bfcaf 100644 --- a/src/NzbDrone.Core/Blacklisting/BlacklistRepository.cs +++ b/src/NzbDrone.Core/Blacklisting/BlacklistRepository.cs @@ -1,5 +1,4 @@ -using System; -using NzbDrone.Core.Datastore; +using NzbDrone.Core.Datastore; using NzbDrone.Core.Messaging.Events; namespace NzbDrone.Core.Blacklisting diff --git a/src/NzbDrone.Core/Blacklisting/BlacklistService.cs b/src/NzbDrone.Core/Blacklisting/BlacklistService.cs index 4f15c59f93..8e11f02ad7 100644 --- a/src/NzbDrone.Core/Blacklisting/BlacklistService.cs +++ b/src/NzbDrone.Core/Blacklisting/BlacklistService.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using NzbDrone.Core.Download; using NzbDrone.Core.Messaging.Events; diff --git a/src/NzbDrone.Core/Datastore/Migration/022_move_indexer_to_generic_provider.cs b/src/NzbDrone.Core/Datastore/Migration/022_move_indexer_to_generic_provider.cs index 5d867f8a87..ea1908901b 100644 --- a/src/NzbDrone.Core/Datastore/Migration/022_move_indexer_to_generic_provider.cs +++ b/src/NzbDrone.Core/Datastore/Migration/022_move_indexer_to_generic_provider.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using FluentMigrator; -using NzbDrone.Common.Serializer; +using FluentMigrator; using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration diff --git a/src/NzbDrone.Core/Datastore/Migration/023_add_config_contract_to_indexers.cs b/src/NzbDrone.Core/Datastore/Migration/023_add_config_contract_to_indexers.cs index cf21536055..1a40a5a268 100644 --- a/src/NzbDrone.Core/Datastore/Migration/023_add_config_contract_to_indexers.cs +++ b/src/NzbDrone.Core/Datastore/Migration/023_add_config_contract_to_indexers.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using FluentMigrator; -using NzbDrone.Common.Serializer; +using FluentMigrator; using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration diff --git a/src/NzbDrone.Core/Datastore/TableMapping.cs b/src/NzbDrone.Core/Datastore/TableMapping.cs index 5b5fe331f3..f7ce5cd43a 100644 --- a/src/NzbDrone.Core/Datastore/TableMapping.cs +++ b/src/NzbDrone.Core/Datastore/TableMapping.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using Marr.Data; using Marr.Data.Mapping; using NzbDrone.Common.Reflection; diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/BlacklistSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/BlacklistSpecification.cs index 7aa5c6b322..635c959098 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/BlacklistSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/BlacklistSpecification.cs @@ -1,4 +1,3 @@ -using System.Linq; using NLog; using NzbDrone.Core.Blacklisting; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/NotInQueueSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/NotInQueueSpecification.cs index 6a8adc40f9..c0ccf0ecfe 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/NotInQueueSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/NotInQueueSpecification.cs @@ -1,12 +1,9 @@ -using System; using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Core.Download; using NzbDrone.Core.IndexerSearch.Definitions; -using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; -using NzbDrone.Core.Tv; namespace NzbDrone.Core.DecisionEngine.Specifications { diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/RssSync/HistorySpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/RssSync/HistorySpecification.cs index 319b76ce5a..e6d6ef3668 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/RssSync/HistorySpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/RssSync/HistorySpecification.cs @@ -3,7 +3,6 @@ using NzbDrone.Core.Download.Clients.Sabnzbd; using NzbDrone.Core.History; using NzbDrone.Core.IndexerSearch.Definitions; -using NzbDrone.Core.MetadataSource.Trakt; using NzbDrone.Core.Parser.Model; namespace NzbDrone.Core.DecisionEngine.Specifications.RssSync diff --git a/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs b/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs index def672b5d7..c9cb8ad106 100644 --- a/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs +++ b/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.IO; using System.Linq; using NLog; using NzbDrone.Common; diff --git a/src/NzbDrone.Core/Download/Clients/BlackholeProvider.cs b/src/NzbDrone.Core/Download/Clients/BlackholeProvider.cs index 5f43ca3514..1f5a5c93d3 100644 --- a/src/NzbDrone.Core/Download/Clients/BlackholeProvider.cs +++ b/src/NzbDrone.Core/Download/Clients/BlackholeProvider.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.IO; using NLog; using NzbDrone.Common; diff --git a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdClient.cs b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdClient.cs index c5799f5ce4..21c3b21f55 100644 --- a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdClient.cs +++ b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdClient.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Web; using Newtonsoft.Json.Linq; using NLog; using NzbDrone.Common; @@ -10,7 +9,6 @@ using NzbDrone.Core.Configuration; using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; -using RestSharp; namespace NzbDrone.Core.Download.Clients.Sabnzbd { diff --git a/src/NzbDrone.Core/Download/FailedDownloadService.cs b/src/NzbDrone.Core/Download/FailedDownloadService.cs index 40048652a1..2c44b44198 100644 --- a/src/NzbDrone.Core/Download/FailedDownloadService.cs +++ b/src/NzbDrone.Core/Download/FailedDownloadService.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/Download/HistoryItem.cs b/src/NzbDrone.Core/Download/HistoryItem.cs index 1dd969f298..9475b527de 100644 --- a/src/NzbDrone.Core/Download/HistoryItem.cs +++ b/src/NzbDrone.Core/Download/HistoryItem.cs @@ -1,5 +1,4 @@ using System; -using NzbDrone.Core.Parser.Model; namespace NzbDrone.Core.Download { diff --git a/src/NzbDrone.Core/Download/RedownloadFailedDownloadService.cs b/src/NzbDrone.Core/Download/RedownloadFailedDownloadService.cs index dd40220c9f..0182f7b265 100644 --- a/src/NzbDrone.Core/Download/RedownloadFailedDownloadService.cs +++ b/src/NzbDrone.Core/Download/RedownloadFailedDownloadService.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/History/HistoryService.cs b/src/NzbDrone.Core/History/HistoryService.cs index 7fbb737af4..9fad974e0b 100644 --- a/src/NzbDrone.Core/History/HistoryService.cs +++ b/src/NzbDrone.Core/History/HistoryService.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Linq.Expressions; using NLog; using NzbDrone.Core.Datastore; using NzbDrone.Core.Download; diff --git a/src/NzbDrone.Core/Indexers/Exceptions/ApiKeyException.cs b/src/NzbDrone.Core/Indexers/Exceptions/ApiKeyException.cs index ff97425f85..41d0d4d5e4 100644 --- a/src/NzbDrone.Core/Indexers/Exceptions/ApiKeyException.cs +++ b/src/NzbDrone.Core/Indexers/Exceptions/ApiKeyException.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using NzbDrone.Common.Exceptions; +using NzbDrone.Common.Exceptions; namespace NzbDrone.Core.Indexers.Exceptions { diff --git a/src/NzbDrone.Core/Indexers/IndexerFactory.cs b/src/NzbDrone.Core/Indexers/IndexerFactory.cs index 6ec09f104f..e8712230e8 100644 --- a/src/NzbDrone.Core/Indexers/IndexerFactory.cs +++ b/src/NzbDrone.Core/Indexers/IndexerFactory.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Common.Composition; diff --git a/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs b/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs index 8de08902be..7e7df8e540 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using NzbDrone.Common.Serializer; using NzbDrone.Core.ThingiProvider; namespace NzbDrone.Core.Indexers.Newznab diff --git a/src/NzbDrone.Core/Indexers/Newznab/NewznabException.cs b/src/NzbDrone.Core/Indexers/Newznab/NewznabException.cs index df858ac24f..3bd821a3eb 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/NewznabException.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/NewznabException.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using NzbDrone.Common.Exceptions; +using NzbDrone.Common.Exceptions; namespace NzbDrone.Core.Indexers.Newznab { diff --git a/src/NzbDrone.Core/Indexers/Newznab/NewznabParser.cs b/src/NzbDrone.Core/Indexers/Newznab/NewznabParser.cs index bd80968774..451c6222bb 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/NewznabParser.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/NewznabParser.cs @@ -1,8 +1,6 @@ using System; using System.Linq; -using System.Xml; using System.Xml.Linq; -using NzbDrone.Core.Indexers.Exceptions; using NzbDrone.Core.Parser.Model; namespace NzbDrone.Core.Indexers.Newznab diff --git a/src/NzbDrone.Core/Jobs/TaskManager.cs b/src/NzbDrone.Core/Jobs/TaskManager.cs index c7d28b727a..ddd32e7ec5 100644 --- a/src/NzbDrone.Core/Jobs/TaskManager.cs +++ b/src/NzbDrone.Core/Jobs/TaskManager.cs @@ -4,7 +4,6 @@ using NLog; using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration.Events; -using NzbDrone.Core.DataAugmentation; using NzbDrone.Core.DataAugmentation.Scene; using NzbDrone.Core.DataAugmentation.Xem; using NzbDrone.Core.Download; diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs b/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs index 43c018656e..e9bc7e2936 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs @@ -1,7 +1,6 @@ using System; using System.IO; using System.Linq; -using Growl.Connector; using NLog; using NzbDrone.Common; using NzbDrone.Common.EnvironmentInfo; diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportDecisionMaker.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportDecisionMaker.cs index 8263533ea7..1d4fb0e8ce 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportDecisionMaker.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportDecisionMaker.cs @@ -6,7 +6,6 @@ using NzbDrone.Core.DecisionEngine; using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; -using NzbDrone.Core.Qualities; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Messaging/Commands/CommandEqualityComparer.cs b/src/NzbDrone.Core/Messaging/Commands/CommandEqualityComparer.cs index 5f6ef67be3..0fd1357673 100644 --- a/src/NzbDrone.Core/Messaging/Commands/CommandEqualityComparer.cs +++ b/src/NzbDrone.Core/Messaging/Commands/CommandEqualityComparer.cs @@ -1,4 +1,3 @@ -using System; using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/NzbDrone.Core/Notifications/NotificationService.cs b/src/NzbDrone.Core/Notifications/NotificationService.cs index 2c016b1f76..a948fa8303 100644 --- a/src/NzbDrone.Core/Notifications/NotificationService.cs +++ b/src/NzbDrone.Core/Notifications/NotificationService.cs @@ -2,14 +2,10 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common.Composition; -using NzbDrone.Common.Serializer; using NzbDrone.Core.Download; using NzbDrone.Core.MediaFiles.Events; using NzbDrone.Core.Messaging.Events; -using NzbDrone.Core.ThingiProvider; using NzbDrone.Core.Tv; -using Omu.ValueInjecter; namespace NzbDrone.Core.Notifications { diff --git a/src/NzbDrone.Core/Parser/InvalidDateException.cs b/src/NzbDrone.Core/Parser/InvalidDateException.cs index dfc509295e..722517d0ee 100644 --- a/src/NzbDrone.Core/Parser/InvalidDateException.cs +++ b/src/NzbDrone.Core/Parser/InvalidDateException.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using NzbDrone.Common.Exceptions; +using NzbDrone.Common.Exceptions; namespace NzbDrone.Core.Parser { diff --git a/src/NzbDrone.Core/Parser/Model/SeriesTitleInfo.cs b/src/NzbDrone.Core/Parser/Model/SeriesTitleInfo.cs index 5ced83c409..e9befbf399 100644 --- a/src/NzbDrone.Core/Parser/Model/SeriesTitleInfo.cs +++ b/src/NzbDrone.Core/Parser/Model/SeriesTitleInfo.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace NzbDrone.Core.Parser.Model +namespace NzbDrone.Core.Parser.Model { public class SeriesTitleInfo { diff --git a/src/NzbDrone.Core/Queue/QueueScheduler.cs b/src/NzbDrone.Core/Queue/QueueScheduler.cs index bce64d8f3f..39be366289 100644 --- a/src/NzbDrone.Core/Queue/QueueScheduler.cs +++ b/src/NzbDrone.Core/Queue/QueueScheduler.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading; +using System.Threading; using System.Threading.Tasks; using NzbDrone.Common.TPL; using NzbDrone.Core.Lifecycle; diff --git a/src/NzbDrone.Core/Queue/QueueService.cs b/src/NzbDrone.Core/Queue/QueueService.cs index 1bc417feff..070c90fb65 100644 --- a/src/NzbDrone.Core/Queue/QueueService.cs +++ b/src/NzbDrone.Core/Queue/QueueService.cs @@ -1,9 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; +using System.Collections.Generic; using NLog; using NzbDrone.Core.Download; -using NzbDrone.Core.Parser; namespace NzbDrone.Core.Queue { diff --git a/src/NzbDrone.Core/RootFolders/RootFolderService.cs b/src/NzbDrone.Core/RootFolders/RootFolderService.cs index fe5be81690..2173c61c6b 100644 --- a/src/NzbDrone.Core/RootFolders/RootFolderService.cs +++ b/src/NzbDrone.Core/RootFolders/RootFolderService.cs @@ -6,7 +6,6 @@ using NzbDrone.Common; using NzbDrone.Common.Instrumentation; using NzbDrone.Core.Configuration; -using NzbDrone.Core.Datastore; using NzbDrone.Core.Tv; namespace NzbDrone.Core.RootFolders diff --git a/src/NzbDrone.Core/ThingiProvider/ProviderRepository.cs b/src/NzbDrone.Core/ThingiProvider/ProviderRepository.cs index cceaaefcbc..9019ac0ff3 100644 --- a/src/NzbDrone.Core/ThingiProvider/ProviderRepository.cs +++ b/src/NzbDrone.Core/ThingiProvider/ProviderRepository.cs @@ -1,5 +1,4 @@ -using System; -using NzbDrone.Core.Datastore; +using NzbDrone.Core.Datastore; using NzbDrone.Core.Messaging.Events; namespace NzbDrone.Core.ThingiProvider diff --git a/src/NzbDrone.Core/Update/Commands/InstallUpdateCommand.cs b/src/NzbDrone.Core/Update/Commands/InstallUpdateCommand.cs index 8dfe88f1c9..6f2ec61fa8 100644 --- a/src/NzbDrone.Core/Update/Commands/InstallUpdateCommand.cs +++ b/src/NzbDrone.Core/Update/Commands/InstallUpdateCommand.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using NzbDrone.Core.Messaging.Commands; +using NzbDrone.Core.Messaging.Commands; namespace NzbDrone.Core.Update.Commands { diff --git a/src/NzbDrone.Core/Update/InstallUpdateService.cs b/src/NzbDrone.Core/Update/InstallUpdateService.cs index 15b1e8bad8..34c233e5c7 100644 --- a/src/NzbDrone.Core/Update/InstallUpdateService.cs +++ b/src/NzbDrone.Core/Update/InstallUpdateService.cs @@ -1,6 +1,5 @@ using System; using System.IO; -using System.Security.Cryptography.X509Certificates; using NLog; using NzbDrone.Common; using NzbDrone.Common.EnvironmentInfo; diff --git a/src/NzbDrone.Core/Update/RecentUpdateProvider.cs b/src/NzbDrone.Core/Update/RecentUpdateProvider.cs index feee0d34f6..96a9156946 100644 --- a/src/NzbDrone.Core/Update/RecentUpdateProvider.cs +++ b/src/NzbDrone.Core/Update/RecentUpdateProvider.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; using NzbDrone.Core.Configuration; namespace NzbDrone.Core.Update diff --git a/src/NzbDrone.Host/ApplicationServer.cs b/src/NzbDrone.Host/ApplicationServer.cs index ab0ee6f6ef..ab15f22926 100644 --- a/src/NzbDrone.Host/ApplicationServer.cs +++ b/src/NzbDrone.Host/ApplicationServer.cs @@ -1,7 +1,6 @@ using System; using System.ServiceProcess; using NLog; -using NzbDrone.Common; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Processes; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Host/MainAppContainerBuilder.cs b/src/NzbDrone.Host/MainAppContainerBuilder.cs index cbb9778c1a..16a8f0fda8 100644 --- a/src/NzbDrone.Host/MainAppContainerBuilder.cs +++ b/src/NzbDrone.Host/MainAppContainerBuilder.cs @@ -4,7 +4,6 @@ using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Core.Datastore; using NzbDrone.Core.Organizer; -using NzbDrone.Core.RootFolders; using NzbDrone.SignalR; namespace NzbDrone.Host diff --git a/src/NzbDrone.Host/PriorityMonitor.cs b/src/NzbDrone.Host/PriorityMonitor.cs index 9d2533791c..47e9c7d696 100644 --- a/src/NzbDrone.Host/PriorityMonitor.cs +++ b/src/NzbDrone.Host/PriorityMonitor.cs @@ -2,7 +2,6 @@ using System.Diagnostics; using System.Threading; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Processes; namespace NzbDrone.Host diff --git a/src/NzbDrone.Integration.Test/ReleaseIntegrationTest.cs b/src/NzbDrone.Integration.Test/ReleaseIntegrationTest.cs index eb76f12557..a97bdf3b83 100644 --- a/src/NzbDrone.Integration.Test/ReleaseIntegrationTest.cs +++ b/src/NzbDrone.Integration.Test/ReleaseIntegrationTest.cs @@ -1,5 +1,4 @@ -using System.Threading; -using FluentAssertions; +using FluentAssertions; using NUnit.Framework; using NzbDrone.Api.Indexers; diff --git a/src/NzbDrone.Test.Common/TestBase.cs b/src/NzbDrone.Test.Common/TestBase.cs index 92d34a15d7..d6382b397c 100644 --- a/src/NzbDrone.Test.Common/TestBase.cs +++ b/src/NzbDrone.Test.Common/TestBase.cs @@ -5,7 +5,6 @@ using Moq; using NLog; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Cache; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Messaging; diff --git a/src/NzbDrone.Update.Test/ProgramFixture.cs b/src/NzbDrone.Update.Test/ProgramFixture.cs index bace6d3aec..5be4db66e0 100644 --- a/src/NzbDrone.Update.Test/ProgramFixture.cs +++ b/src/NzbDrone.Update.Test/ProgramFixture.cs @@ -1,7 +1,6 @@ using System; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Model; using NzbDrone.Common.Processes; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Update/UpdateApp.cs b/src/NzbDrone.Update/UpdateApp.cs index 3e1c894427..0f42e25b10 100644 --- a/src/NzbDrone.Update/UpdateApp.cs +++ b/src/NzbDrone.Update/UpdateApp.cs @@ -1,7 +1,6 @@ using System; using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Composition; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Instrumentation; diff --git a/src/NzbDrone/SysTray/SysTrayApp.cs b/src/NzbDrone/SysTray/SysTrayApp.cs index 74270f09be..3068bcd5c3 100644 --- a/src/NzbDrone/SysTray/SysTrayApp.cs +++ b/src/NzbDrone/SysTray/SysTrayApp.cs @@ -1,7 +1,6 @@ using System; using System.ComponentModel; using System.Windows.Forms; -using NzbDrone.Common; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Processes; using NzbDrone.Host.Owin;