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 961dc22e4..af9194c8d 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 bbdf22e85..82ace5314 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 36d2a68e8..6af07257f 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 039e4b0c3..6358ed953 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 f9df68dee..be8e92952 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 aaab212a8..46f6b7f94 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 ae950aae0..87a46c462 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 405caae93..7b0aa3c7e 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 2fd32e2ea..0f91ad102 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 bee581921..d9496e038 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 25bf43419..d80d91e87 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 db661b5c1..920b9bb7b 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 efc5ac7ff..148a2210f 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 429a25c44..94a7f07fc 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 c35f3f50f..02696a9b8 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 f1e4b0a9b..e980d2c46 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 0f1fd5742..a7f3645cf 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 e99cbaa72..849fe1d0c 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 78435ee00..ede83ca40 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 39ff23c96..6629809f7 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 85d19db97..8e3bec1b9 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 615c7a7e4..da0583121 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 9b8a90643..4ccc2364b 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 df24add3e..3ebf89dbd 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 62c610bbf..b8fe97056 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 fff54ac02..c43786614 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 c80d578b9..f9d6d1ac3 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 bad109bf9..bf4b399b5 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 5f2e00b9c..9c53ec5aa 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 e8501e401..58ae5ec95 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 f236c103f..a7f2310c3 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 641e62dca..05c4229f2 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 c0b7e5fbf..1a641bfca 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 4f15c59f9..8e11f02ad 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 5d867f8a8..ea1908901 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 cf2153605..1a40a5a26 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 5b5fe331f..f7ce5cd43 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 7aa5c6b32..635c95909 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 6a8adc40f..c0ccf0ecf 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 319b76ce5..e6d6ef366 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 def672b5d..c9cb8ad10 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 5f43ca351..1f5a5c93d 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 c5799f5ce..21c3b21f5 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 40048652a..2c44b4419 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 1dd969f29..9475b527d 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 dd40220c9..0182f7b26 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 7fbb737af..9fad974e0 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 ff97425f8..41d0d4d5e 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 6ec09f104..e8712230e 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 8de08902b..7e7df8e54 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 df858ac24..3bd821a3e 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 bd8096877..451c6222b 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 c7d28b727..ddd32e7ec 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 43c018656..e9bc7e293 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 8263533ea..1d4fb0e8c 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 5f6ef67be..0fd135767 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 2c016b1f7..a948fa830 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 dfc509295..722517d0e 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 5ced83c40..e9befbf39 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 bce64d8f3..39be36628 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 1bc417fef..070c90fb6 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 fe5be8169..2173c61c6 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 cceaaefcb..9019ac0ff 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 8dfe88f1c..6f2ec61fa 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 15b1e8bad..34c233e5c 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 feee0d34f..96a915694 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 ab0ee6f6e..ab15f2292 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 cbb9778c1..16a8f0fda 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 9d2533791..47e9c7d69 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 eb76f1255..a97bdf3b8 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 92d34a15d..d6382b397 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 bace6d3ae..5be4db66e 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 3e1c89442..0f42e25b1 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 74270f09b..3068bcd5c 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;