From 0be8f55a2fb37e3195cee16cb0d011c946de9bee Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Sat, 6 Dec 2014 21:55:17 -0800 Subject: [PATCH] Cleaned up using directive --- .../ConnectionExtensions.cs | 2 -- .../DependencyResolverExtensions.cs | 2 -- .../Hosting/HostContext.cs | 1 - src/Microsoft.AspNet.SignalR.Core/Hosting/IResponse.cs | 1 - .../Hosting/ResponseExtensions.cs | 1 - src/Microsoft.AspNet.SignalR.Core/Hub.cs | 3 --- .../Hubs/Extensions/HubManagerExtensions.cs | 1 - .../Hubs/Extensions/MethodExtensions.cs | 1 - src/Microsoft.AspNet.SignalR.Core/Hubs/IHub.cs | 1 - .../Hubs/IHubConnectionContext.cs | 2 -- .../Hubs/Lookup/DefaultHubManager.cs | 1 - .../Hubs/Lookup/IHubManager.cs | 1 - .../Hubs/Lookup/IMethodDescriptorProvider.cs | 1 - .../Hubs/Lookup/IParameterResolver.cs | 1 - .../Hubs/NullJavaScriptMinifier.cs | 1 - .../Hubs/Pipeline/HubOutgoingInvokerContext.cs | 1 - src/Microsoft.AspNet.SignalR.Core/Hubs/SignalProxy.cs | 1 - src/Microsoft.AspNet.SignalR.Core/IHubContext.cs | 1 - .../IPersistentConnectionContext.cs | 2 -- src/Microsoft.AspNet.SignalR.Core/IRequest.cs | 1 - .../Infrastructure/Connection.cs | 2 -- .../Infrastructure/ConnectionManager.cs | 3 --- .../Infrastructure/Disposer.cs | 1 - .../Infrastructure/IAckHandler.cs | 2 -- .../Infrastructure/IPerformanceCounterManager.cs | 1 - .../Infrastructure/PerformanceCounterManager.cs | 2 -- .../Infrastructure/SafeCancellationTokenSource.cs | 1 - .../Json/JsonNetSerializer.cs | 1 - src/Microsoft.AspNet.SignalR.Core/Json/JsonUtility.cs | 2 -- src/Microsoft.AspNet.SignalR.Core/Messaging/Command.cs | 1 - .../Messaging/IMessageBus.cs | 1 - .../Messaging/LocalEventKeyInfo.cs | 1 - .../Messaging/MessageBusExtensions.cs | 2 -- .../Messaging/MessageResult.cs | 1 - .../Messaging/ScaleoutMappingStore.cs | 1 - .../Messaging/ScaleoutMessage.cs | 1 - .../Messaging/ScaleoutMessageBus.cs | 1 - .../Messaging/ScaleoutStore.cs | 1 - .../Messaging/ScaleoutStreamManager.cs | 1 - .../Messaging/Subscription.cs | 1 - .../Messaging/Volatile.cs | 1 - .../PersistentConnection.cs | 1 - .../Resources.Designer.cs | 3 --- src/Microsoft.AspNet.SignalR.Core/TaskAsyncHelper.cs | 5 ----- .../Tracing/TraceSourceExtensions.cs | 2 -- .../Transports/ForeverFrameTransport.cs | 1 - .../Transports/ITransport.cs | 2 -- .../Transports/ITransportConnection.cs | 1 - .../Transports/LongPollingTransport.cs | 1 - .../Transports/WebSocketTransport.cs | 1 - .../Infrastructure/Headers.cs | 1 - .../Resources.Designer.cs | 3 --- src/Microsoft.AspNet.SignalR.Owin/ServerRequest.cs | 1 - src/Microsoft.AspNet.SignalR.Owin/ServerResponse.cs | 1 - src/MonoTorrent/BEncoding/BEncodedDictionary.cs | 1 - src/MonoTorrent/BEncoding/BEncodedList.cs | 2 -- src/MonoTorrent/BEncoding/BEncodedNumber.cs | 3 --- src/MonoTorrent/BEncoding/BEncodingException.cs | 1 - src/MonoTorrent/BEncoding/IBEncodedValue.cs | 1 - src/MonoTorrent/BEncoding/RawReader.cs | 2 -- src/MonoTorrent/RawTrackerTier.cs | 1 - src/MonoTorrent/RawTrackerTiers.cs | 1 - src/NzbDrone.Api.Test/DirectoryLookupServiceFixture.cs | 1 - .../MappingTests/ResourceMappingFixture.cs | 1 - src/NzbDrone.Api/Blacklist/BlacklistModule.cs | 3 +-- src/NzbDrone.Api/Calendar/CalendarFeedModule.cs | 1 - src/NzbDrone.Api/Config/HostConfigModule.cs | 1 - src/NzbDrone.Api/Directories/DirectoryLookupService.cs | 1 - src/NzbDrone.Api/Directories/DirectoryModule.cs | 1 - src/NzbDrone.Api/Episodes/RenameEpisodeResource.cs | 2 -- src/NzbDrone.Api/Extensions/Pipelines/CorsPipeline.cs | 2 -- src/NzbDrone.Api/Frontend/CacheableSpecification.cs | 1 - src/NzbDrone.Api/Frontend/Mappers/BackupFileMapper.cs | 1 - src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs | 1 - src/NzbDrone.Api/Frontend/Mappers/LogFileMapper.cs | 1 - src/NzbDrone.Api/Frontend/Mappers/MediaCoverMapper.cs | 1 - .../Frontend/Mappers/StaticResourceMapperBase.cs | 1 - .../Frontend/Mappers/UpdateLogFileMapper.cs | 1 - src/NzbDrone.Api/Logs/LogFileModule.cs | 1 - src/NzbDrone.Api/Logs/UpdateLogFileModule.cs | 2 -- src/NzbDrone.Api/MediaCovers/MediaCoverModule.cs | 1 - src/NzbDrone.Api/Profiles/LegacyProfileModule.cs | 1 - .../RemotePathMappings/RemotePathMappingModule.cs | 1 - src/NzbDrone.Api/Series/SeasonResource.cs | 3 --- src/NzbDrone.Api/Series/SeriesModule.cs | 2 -- src/NzbDrone.Api/System/SystemModule.cs | 1 - src/NzbDrone.Api/System/Tasks/TaskModule.cs | 3 +-- .../DiskProviderTests/FreeSpaceFixtureBase.cs | 1 - .../DiskProviderTests/IsParentFixtureBase.cs | 5 +---- .../InstrumentationTests/CleanseLogMessageFixture.cs | 3 --- src/NzbDrone.Common.Test/LevenshteinDistanceFixture.cs | 4 ---- src/NzbDrone.Common.Test/OsPathFixture.cs | 3 --- src/NzbDrone.Common.Test/PathExtensionFixture.cs | 1 - src/NzbDrone.Common/Composition/IContainer.cs | 1 - src/NzbDrone.Common/ConvertBase32.cs | 3 --- src/NzbDrone.Common/Disk/OsPath.cs | 2 -- src/NzbDrone.Common/Disk/TransferMode.cs | 3 --- src/NzbDrone.Common/EnsureThat/ExpressionExtensions.cs | 1 - src/NzbDrone.Common/EnvironmentInfo/StartupContext.cs | 4 +--- src/NzbDrone.Common/Exceptions/NotParentException.cs | 7 +------ src/NzbDrone.Common/Http/HttpAccept.cs | 3 --- src/NzbDrone.Common/Http/HttpResponse.cs | 5 +---- src/NzbDrone.Common/Http/JsonRpcRequestBuilder.cs | 1 - src/NzbDrone.Common/Http/JsonRpcResponse.cs | 5 ----- src/NzbDrone.Common/Instrumentation/LogTargets.cs | 1 - .../Blacklisting/BlacklistRepositoryFixture.cs | 1 - .../DailySeries/DailySeriesDataProxyFixture.cs | 1 - .../Datastore/DatabaseRelationshipFixture.cs | 3 +-- .../Datastore/Migration/070_delay_profileFixture.cs | 3 +-- .../SqliteSchemaDumperFixture.cs | 3 --- .../NotInQueueSpecificationFixture.cs | 1 - .../QualityAllowedByProfileSpecificationFixture.cs | 3 +-- .../ReleaseRestrictionsSpecificationFixture.cs | 1 - .../Blackhole/TorrentBlackholeFixture.cs | 4 ---- .../Blackhole/UsenetBlackholeFixture.cs | 1 - .../DownloadClientTests/DelugeTests/DelugeFixture.cs | 6 ------ .../DownloadClientTests/DownloadClientFixtureBase.cs | 1 - .../DownloadClientTests/NzbgetTests/NzbgetFixture.cs | 6 ------ .../DownloadClientTests/PneumaticProviderFixture.cs | 3 --- .../TransmissionTests/TransmissionFixture.cs | 7 ------- .../UTorrentTests/UTorrentFixture.cs | 6 ------ .../Download/DownloadServiceFixture.cs | 1 - .../HealthCheck/Checks/DownloadClientCheckFixture.cs | 1 - .../HealthCheck/Checks/DroneFactoryCheckFixture.cs | 2 -- .../HealthCheck/Checks/ImportMechanismCheckFixture.cs | 5 +---- .../HealthCheck/Checks/IndexerCheckFixture.cs | 5 ----- .../CleanupDuplicateMetadataFilesFixture.cs | 2 -- .../IndexerTests/AnimezbTests/AnimezbFixture.cs | 4 +--- .../BroadcastheNetTests/BroadcastheNetFixture.cs | 6 ------ .../IndexerTests/EztvTests/EztvFixture.cs | 6 ------ .../IndexerTests/FanzubTests/FanzubFixture.cs | 1 - .../IndexerTests/IPTorrentsTests/IPTorrentsFixture.cs | 6 ------ .../KickassTorrentsTests/KickassTorrentsFixture.cs | 5 ----- .../IndexerTests/NewznabTests/NewznabFixture.cs | 2 -- .../NewznabTests/NewznabRequestGeneratorFixture.cs | 1 - .../IndexerTests/OmgwtfnzbsTests/OmgwtfnzbsFixture.cs | 2 -- .../IndexerTests/SeasonSearchFixture.cs | 8 +------- src/NzbDrone.Core.Test/IndexerTests/TestIndexer.cs | 3 --- .../IndexerTests/TestIndexerSettings.cs | 3 --- .../TorrentleechTests/TorrentleechFixture.cs | 6 ------ .../InstrumentationTests/DatabaseTargetFixture.cs | 1 - .../MediaCoverTests/CoverExistsSpecificationFixture.cs | 5 +---- .../MediaCoverTests/MediaCoverServiceFixture.cs | 1 - .../MediaFiles/DiskScanServiceTests/ScanFixture.cs | 1 - .../DownloadedEpisodesCommandServiceFixture.cs | 1 - .../DownloadedEpisodesImportServiceFixture.cs | 2 -- .../MoveEpisodeFileFixture.cs | 2 -- .../Specifications/FreeSpaceSpecificationFixture.cs | 1 - .../Specifications/FullSeasonSpecificationFixture.cs | 2 -- .../Specifications/NotSampleSpecificationFixture.cs | 5 +---- .../Specifications/NotUnpackingSpecificationFixture.cs | 1 - .../MediaFiles/MediaFileServiceTests/FilterFixture.cs | 1 - .../MediaFiles/MediaFileTableCleanupServiceFixture.cs | 1 - .../MediaFiles/UpgradeMediaFileServiceFixture.cs | 1 - .../Commands/CommandEqualityComparerFixture.cs | 1 - .../Metadata/Consumers/Wdtv/FindMetadataFileFixture.cs | 6 +----- .../NotificationTests/PlexProviderTest.cs | 5 ----- .../Xbmc/Http/ActivePlayersFixture.cs | 1 - .../Xbmc/Http/GetSeriesPathFixture.cs | 1 - .../NotificationTests/Xbmc/Http/UpdateFixture.cs | 1 - .../Xbmc/Json/GetSeriesPathFixture.cs | 4 ---- .../OrganizerTests/BuildFilePathFixture.cs | 1 - src/NzbDrone.Core.Test/OrganizerTests/CleanFixture.cs | 7 ------- .../ParserTests/AnimeMetadataParserFixture.cs | 3 --- .../ParserTests/DailyEpisodeParserFixture.cs | 2 -- .../ParserTests/IsPossibleSpecialEpisodeFixture.cs | 6 +----- .../ParserTests/NormalizeTitleFixture.cs | 4 ---- src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs | 1 - .../ParserTests/PathParserFixture.cs | 5 ----- .../ParserTests/SceneCheckerFixture.cs | 3 +-- .../ParserTests/SeasonParserFixture.cs | 2 -- .../ParserTests/SingleEpisodeParserFixture.cs | 1 - .../Profiles/ProfileServiceFixture.cs | 1 - .../DiskScanProviderTests/GetVideoFilesFixture.cs | 1 - .../RecycleBinProviderTests/CleanupFixture.cs | 1 - .../RecycleBinProviderTests/EmptyFixture.cs | 1 - .../Qualities/RevisionComparableFixture.cs | 1 - .../RemotePathMappingServiceFixture.cs | 2 -- .../RootFolderTests/RootFolderServiceFixture.cs | 2 -- .../EpisodeRepositoryTests/EpisodesWithFilesFixture.cs | 3 +-- .../TvTests/RefreshSeriesServiceFixture.cs | 1 - .../TvTests/ShouldRefreshSeriesFixture.cs | 2 -- src/NzbDrone.Core/Blacklisting/BlacklistService.cs | 3 --- src/NzbDrone.Core/Configuration/ConfigFileProvider.cs | 1 - .../DataAugmentation/Scene/SceneMappingRepository.cs | 1 - .../DataAugmentation/Scene/SceneMappingService.cs | 1 - .../DataAugmentation/Scene/ServicesProvider.cs | 3 +-- src/NzbDrone.Core/DataAugmentation/Xem/XemProxy.cs | 1 - src/NzbDrone.Core/Datastore/BasicRepository.cs | 1 - src/NzbDrone.Core/Datastore/ConnectionStringFactory.cs | 1 - .../Datastore/Converters/OsPathConverter.cs | 4 ---- .../Migration/034_remove_series_contraints.cs | 3 +-- .../Datastore/Migration/051_download_client_import.cs | 1 - .../Migration/056_add_mediainfo_to_episodefile.cs | 1 - .../Migration/Framework/NzbDroneSqliteProcessor.cs | 1 - .../Migration/Framework/SqliteSyntaxReader.cs | 1 - .../DecisionEngine/DownloadDecisionMaker.cs | 2 -- .../Specifications/AcceptableSizeSpecification.cs | 1 - .../Specifications/AnimeVersionUpgradeSpecification.cs | 1 - .../Specifications/ReleaseRestrictionsSpecification.cs | 1 - .../Specifications/RetrySpecification.cs | 1 - src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs | 1 - src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs | 5 ----- .../Download/Clients/Deluge/DelugeError.cs | 3 --- .../Download/Clients/Deluge/DelugeException.cs | 3 --- .../Download/Clients/Deluge/DelugeProxy.cs | 1 - .../Download/Clients/Deluge/DelugeResponse.cs | 1 - .../Download/Clients/Deluge/DelugeTorrent.cs | 3 --- .../Download/Clients/Deluge/DelugeTorrentStatus.cs | 3 --- .../Download/Clients/Deluge/DelugeUpdateUIResult.cs | 2 -- .../Clients/DownloadClientAuthenticationException.cs | 1 - src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs | 1 - .../Download/Clients/Nzbget/NzbgetCategory.cs | 3 --- .../Download/Clients/Nzbget/NzbgetConfigItem.cs | 3 --- .../Download/Clients/Nzbget/NzbgetGlobalStatus.cs | 3 --- .../Download/Clients/Nzbget/NzbgetPostQueueItem.cs | 3 --- .../Download/Clients/Nzbget/NzbgetResponse.cs | 2 -- .../Download/Clients/Pneumatic/Pneumatic.cs | 1 - .../Clients/Sabnzbd/Responses/SabnzbdConfigResponse.cs | 5 +---- src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs | 2 -- .../Download/Clients/Sabnzbd/SabnzbdCategory.cs | 2 -- .../Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs | 4 +--- .../Download/Clients/Sabnzbd/SabnzbdSettings.cs | 1 - .../Clients/TorrentBlackhole/TorrentBlackhole.cs | 3 --- .../TorrentBlackhole/TorrentBlackholeSettings.cs | 3 --- .../Download/Clients/Transmission/Transmission.cs | 2 -- .../Download/Clients/Transmission/TransmissionProxy.cs | 2 -- .../Clients/Transmission/TransmissionTorrent.cs | 2 -- .../Clients/Transmission/TransmissionTorrentStatus.cs | 4 +--- .../Clients/UsenetBlackhole/UsenetBlackhole.cs | 2 -- .../Download/Clients/uTorrent/UTorrent.cs | 3 --- .../Download/Clients/uTorrent/UTorrentProxy.cs | 2 -- src/NzbDrone.Core/Download/CompletedDownloadService.cs | 1 - src/NzbDrone.Core/Download/DownloadClientItem.cs | 1 - src/NzbDrone.Core/Download/DownloadClientProvider.cs | 3 +-- src/NzbDrone.Core/Download/DownloadClientStatus.cs | 2 -- src/NzbDrone.Core/Download/DownloadTrackingService.cs | 1 - src/NzbDrone.Core/Download/FailedDownloadService.cs | 1 - .../Download/Pending/PendingReleaseService.cs | 2 -- src/NzbDrone.Core/Download/ProcessDownloadDecisions.cs | 1 - src/NzbDrone.Core/Download/TorrentClientBase.cs | 4 ---- src/NzbDrone.Core/Download/UsenetClientBase.cs | 5 ----- .../HealthCheck/Checks/AppDataLocationCheck.cs | 3 +-- .../HealthCheck/Checks/DroneFactoryCheck.cs | 1 - .../HealthCheck/Checks/ImportMechanismCheck.cs | 5 +---- src/NzbDrone.Core/HealthCheck/Checks/IndexerCheck.cs | 1 - src/NzbDrone.Core/HealthCheck/HealthCheckBase.cs | 7 +------ src/NzbDrone.Core/HealthCheck/HealthCheckService.cs | 1 - src/NzbDrone.Core/History/HistoryService.cs | 2 -- .../Housekeepers/FixFutureRunScheduledTasks.cs | 1 - .../Housekeeping/Housekeepers/UpdateAnimeCategories.cs | 1 - .../Definitions/AnimeEpisodeSearchCriteria.cs | 4 +--- .../Definitions/SpecialEpisodeSearchCriteria.cs | 3 --- src/NzbDrone.Core/Indexers/Animezb/Animezb.cs | 7 +------ .../Indexers/Animezb/AnimezbRequestGenerator.cs | 2 -- src/NzbDrone.Core/Indexers/BitMeTv/BitMeTv.cs | 4 ---- .../Indexers/BitMeTv/BitMeTvRequestGenerator.cs | 1 - src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvSettings.cs | 1 - .../Indexers/BroadcastheNet/BroadcastheNet.cs | 10 +--------- .../Indexers/BroadcastheNet/BroadcastheNetParser.cs | 3 --- .../BroadcastheNet/BroadcastheNetRequestGenerator.cs | 4 ---- .../Indexers/BroadcastheNet/BroadcastheNetSettings.cs | 1 - .../Indexers/BroadcastheNet/BroadcastheNetTorrent.cs | 3 --- .../BroadcastheNet/BroadcastheNetTorrentQuery.cs | 3 --- .../Indexers/BroadcastheNet/BroadcastheNetTorrents.cs | 2 -- src/NzbDrone.Core/Indexers/DownloadProtocol.cs | 7 +------ src/NzbDrone.Core/Indexers/Eztv/Eztv.cs | 5 ----- .../Indexers/Eztv/EztvRequestGenerator.cs | 3 --- src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs | 1 - src/NzbDrone.Core/Indexers/Fanzub/Fanzub.cs | 7 +------ .../Indexers/Fanzub/FanzubRequestGenerator.cs | 1 - src/NzbDrone.Core/Indexers/HttpIndexerBase.cs | 1 - src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs | 4 ---- .../Indexers/IPTorrents/IPTorrentsRequestGenerator.cs | 4 +--- .../Indexers/IPTorrents/IPTorrentsSettings.cs | 1 - src/NzbDrone.Core/Indexers/IProcessIndexerResponse.cs | 5 +---- src/NzbDrone.Core/Indexers/IndexerBase.cs | 2 -- .../KickassTorrents/KickassTorrentsRequestGenerator.cs | 1 - .../KickassTorrents/KickassTorrentsRssParser.cs | 1 - .../KickassTorrents/KickassTorrentsSettings.cs | 1 - .../Indexers/Newznab/NewznabRequestGenerator.cs | 2 -- src/NzbDrone.Core/Indexers/Newznab/NewznabRssParser.cs | 1 - src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs | 1 - src/NzbDrone.Core/Indexers/Nyaa/Nyaa.cs | 2 -- .../Indexers/Nyaa/NyaaRequestGenerator.cs | 1 - src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs | 1 - .../Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs | 1 - .../Indexers/RssIndexerRequestGenerator.cs | 2 -- .../Indexers/Torrentleech/Torrentleech.cs | 5 +---- .../Torrentleech/TorrentleechRequestGenerator.cs | 1 - .../Indexers/Torrentleech/TorrentleechSettings.cs | 1 - src/NzbDrone.Core/Indexers/Wombles/Wombles.cs | 6 +----- src/NzbDrone.Core/Indexers/XElementExtensions.cs | 1 - .../Instrumentation/DeleteLogFilesService.cs | 5 +---- src/NzbDrone.Core/Lifecycle/LifecycleService.cs | 4 +--- src/NzbDrone.Core/MediaCover/MediaCoverService.cs | 1 - .../MediaFiles/DownloadedEpisodesCommandService.cs | 2 -- .../MediaFiles/DownloadedEpisodesImportService.cs | 4 ---- .../MediaFiles/EpisodeFileMovingService.cs | 2 -- .../MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs | 1 - .../MediaFiles/EpisodeImport/ImportResult.cs | 1 - .../Specifications/FullSeasonSpecification.cs | 5 +---- .../Specifications/NotUnpackingSpecification.cs | 1 - src/NzbDrone.Core/MediaFiles/MediaFileService.cs | 1 - .../MediaFiles/MediaFileTableCleanupService.cs | 1 - .../MediaFiles/MediaInfo/VideoFileInfoReader.cs | 1 - src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs | 1 - .../MediaFiles/RenameEpisodeFilePreview.cs | 2 -- .../MediaFiles/RenameEpisodeFileService.cs | 1 - .../MediaFiles/UpdateEpisodeFileService.cs | 1 - .../MediaFiles/UpgradeMediaFileService.cs | 1 - .../Consumers/MediaBrowser/MediaBrowserMetadata.cs | 1 - .../MetaData/Consumers/Roksbox/RoksboxMetadata.cs | 1 - .../MetaData/Consumers/Wdtv/WdtvMetadata.cs | 1 - .../MetaData/Consumers/Xbmc/XbmcMetadata.cs | 1 - .../MetaData/Files/CleanMetadataService.cs | 3 +-- src/NzbDrone.Core/MetaData/MetadataService.cs | 1 - src/NzbDrone.Core/MetaData/MetadataType.cs | 4 +--- src/NzbDrone.Core/Metadata/ExistingMetadataService.cs | 1 - .../Metadata/Files/MetadataFileRepository.cs | 3 +-- src/NzbDrone.Core/Metadata/MetadataBase.cs | 1 - src/NzbDrone.Core/MetadataSource/Trakt/Actor.cs | 7 +------ .../MetadataSource/TraktSearchSeriesComparer.cs | 3 --- src/NzbDrone.Core/MetadataSource/Tvdb/TvdbProxy.cs | 3 --- src/NzbDrone.Core/Notifications/Email/Email.cs | 1 - src/NzbDrone.Core/Notifications/Growl/Growl.cs | 1 - src/NzbDrone.Core/Notifications/Growl/GrowlService.cs | 2 -- src/NzbDrone.Core/Notifications/NotificationBase.cs | 1 - src/NzbDrone.Core/Notifications/NotificationService.cs | 1 - .../Notifications/NotifyMyAndroid/NotifyMyAndroid.cs | 2 -- src/NzbDrone.Core/Notifications/Plex/PlexClient.cs | 1 - src/NzbDrone.Core/Notifications/Plex/PlexException.cs | 6 +----- src/NzbDrone.Core/Notifications/Plex/PlexServer.cs | 1 - .../Notifications/Plex/PlexServerProxy.cs | 2 -- src/NzbDrone.Core/Notifications/Prowl/Prowl.cs | 1 - .../Notifications/PushBullet/PushBullet.cs | 1 - src/NzbDrone.Core/Notifications/Pushalot/Pushalot.cs | 1 - src/NzbDrone.Core/Notifications/Pushover/Pushover.cs | 1 - .../Notifications/Pushover/PushoverService.cs | 1 - .../Notifications/Xbmc/HttpApiProvider.cs | 1 - src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs | 1 - .../Notifications/Xbmc/XbmcJsonApiProxy.cs | 1 - src/NzbDrone.Core/Organizer/BasicNamingConfig.cs | 7 +------ src/NzbDrone.Core/Organizer/FileNameBuilder.cs | 1 - src/NzbDrone.Core/Organizer/SampleResult.cs | 2 -- src/NzbDrone.Core/Parser/Model/ParsedEpisodeInfo.cs | 1 - src/NzbDrone.Core/Parser/Parser.cs | 1 - src/NzbDrone.Core/Parser/ParsingService.cs | 1 - src/NzbDrone.Core/Parser/QualityParser.cs | 1 - .../Profiles/Delay/DelayProfileService.cs | 4 +--- .../Qualities/QualityDefinitionRepository.cs | 4 +--- .../RemotePathMappings/RemotePathMapping.cs | 2 -- .../RemotePathMappings/RemotePathMappingService.cs | 4 ---- src/NzbDrone.Core/Rest/RestClientFactory.cs | 3 --- src/NzbDrone.Core/Restrictions/RestrictionService.cs | 1 - .../ThingiProvider/Events/ProviderUpdatedEvent.cs | 6 +----- src/NzbDrone.Core/Tv/Episode.cs | 1 - src/NzbDrone.Core/Tv/EpisodeRepository.cs | 2 -- src/NzbDrone.Core/Tv/MoveSeriesService.cs | 1 - src/NzbDrone.Core/Tv/RefreshEpisodeService.cs | 1 - src/NzbDrone.Core/Tv/RefreshSeriesService.cs | 1 - src/NzbDrone.Core/Tv/Series.cs | 1 - src/NzbDrone.Core/Tv/SeriesRepository.cs | 3 +-- src/NzbDrone.Core/Tv/SeriesService.cs | 2 -- src/NzbDrone.Core/Validation/FolderValidator.cs | 1 - .../Validation/NzbDroneValidationFailure.cs | 3 --- .../Validation/Paths/DroneFactoryValidator.cs | 1 - src/NzbDrone.Core/Validation/Paths/PathValidator.cs | 1 - .../Validation/Paths/RootFolderValidator.cs | 1 - .../Validation/Paths/SeriesAncestorValidator.cs | 1 - .../Validation/Paths/SeriesPathValidator.cs | 1 - src/NzbDrone.Host/ApplicationServer.cs | 1 - .../Owin/MiddleWare/NzbDroneVersionMiddleWare.cs | 3 +-- .../Client/NotificationClient.cs | 1 - src/NzbDrone.Integration.Test/NamingConfigTests.cs | 4 +--- .../ReleaseIntegrationTest.cs | 3 --- .../SeriesEditorIntegrationTest.cs | 2 -- src/NzbDrone.Mono.Test/Properties/AssemblyInfo.cs | 1 - src/NzbDrone.Mono/DiskProvider.cs | 1 - src/NzbDrone.Mono/Properties/AssemblyInfo.cs | 1 - src/NzbDrone.SignalR/NzbDronePersistentConnection.cs | 1 - src/NzbDrone.Update/UpdateApp.cs | 1 - src/NzbDrone.Update/UpdateEngine/BackupAndRestore.cs | 1 - src/NzbDrone.Update/UpdateEngine/BackupAppData.cs | 4 +--- .../UpdateEngine/InstallUpdateService.cs | 1 - src/NzbDrone.Windows.Test/Properties/AssemblyInfo.cs | 1 - src/NzbDrone.Windows/Properties/AssemblyInfo.cs | 1 - 387 files changed, 52 insertions(+), 780 deletions(-) diff --git a/src/Microsoft.AspNet.SignalR.Core/ConnectionExtensions.cs b/src/Microsoft.AspNet.SignalR.Core/ConnectionExtensions.cs index 6f03e1c82..07cc587e1 100644 --- a/src/Microsoft.AspNet.SignalR.Core/ConnectionExtensions.cs +++ b/src/Microsoft.AspNet.SignalR.Core/ConnectionExtensions.cs @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Collections.Generic; -using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Infrastructure; diff --git a/src/Microsoft.AspNet.SignalR.Core/DependencyResolverExtensions.cs b/src/Microsoft.AspNet.SignalR.Core/DependencyResolverExtensions.cs index 0aca7ed95..d579634b1 100644 --- a/src/Microsoft.AspNet.SignalR.Core/DependencyResolverExtensions.cs +++ b/src/Microsoft.AspNet.SignalR.Core/DependencyResolverExtensions.cs @@ -3,8 +3,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; -using Microsoft.AspNet.SignalR.Infrastructure; namespace Microsoft.AspNet.SignalR { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hosting/HostContext.cs b/src/Microsoft.AspNet.SignalR.Core/Hosting/HostContext.cs index 14135f1a1..cd5324f90 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hosting/HostContext.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hosting/HostContext.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; -using System.Security.Principal; namespace Microsoft.AspNet.SignalR.Hosting { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hosting/IResponse.cs b/src/Microsoft.AspNet.SignalR.Core/Hosting/IResponse.cs index 5c6121425..f6dd60434 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hosting/IResponse.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hosting/IResponse.cs @@ -2,7 +2,6 @@ using System; using System.Diagnostics.CodeAnalysis; -using System.IO; using System.Threading; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNet.SignalR.Core/Hosting/ResponseExtensions.cs b/src/Microsoft.AspNet.SignalR.Core/Hosting/ResponseExtensions.cs index 64e8cd7ca..a8f79a922 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hosting/ResponseExtensions.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hosting/ResponseExtensions.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.IO; using System.Text; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNet.SignalR.Core/Hub.cs b/src/Microsoft.AspNet.SignalR.Core/Hub.cs index 8529aeca5..ca86f39e9 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hub.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hub.cs @@ -1,8 +1,5 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. -using System; -using System.Collections.Generic; -using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Hubs; diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/Extensions/HubManagerExtensions.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/Extensions/HubManagerExtensions.cs index 570ea82a0..bc5455b59 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/Extensions/HubManagerExtensions.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/Extensions/HubManagerExtensions.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Globalization; using Microsoft.AspNet.SignalR.Infrastructure; diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/Extensions/MethodExtensions.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/Extensions/MethodExtensions.cs index f1a57c2e8..3418e8566 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/Extensions/MethodExtensions.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/Extensions/MethodExtensions.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Microsoft.AspNet.SignalR.Json; -using Newtonsoft.Json.Linq; namespace Microsoft.AspNet.SignalR.Hubs { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/IHub.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/IHub.cs index 8e32d5366..1b7ef0ff8 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/IHub.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/IHub.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Collections.Generic; using System.Threading.Tasks; namespace Microsoft.AspNet.SignalR.Hubs diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/IHubConnectionContext.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/IHubConnectionContext.cs index 8dae8e28c..fa468dd47 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/IHubConnectionContext.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/IHubConnectionContext.cs @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. -using System; - namespace Microsoft.AspNet.SignalR.Hubs { /// diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/DefaultHubManager.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/DefaultHubManager.cs index b9eb9ee08..f572b91e3 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/DefaultHubManager.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/DefaultHubManager.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNet.SignalR.Json; -using Newtonsoft.Json.Linq; namespace Microsoft.AspNet.SignalR.Hubs { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IHubManager.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IHubManager.cs index 53868eefe..99da9b351 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IHubManager.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IHubManager.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; using Microsoft.AspNet.SignalR.Json; -using Newtonsoft.Json.Linq; namespace Microsoft.AspNet.SignalR.Hubs { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IMethodDescriptorProvider.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IMethodDescriptorProvider.cs index 3f88b537f..ae0700f36 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IMethodDescriptorProvider.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IMethodDescriptorProvider.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Microsoft.AspNet.SignalR.Json; -using Newtonsoft.Json.Linq; namespace Microsoft.AspNet.SignalR.Hubs { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IParameterResolver.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IParameterResolver.cs index c91bac1c2..e1ed36d61 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IParameterResolver.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/Lookup/IParameterResolver.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using Microsoft.AspNet.SignalR.Json; -using Newtonsoft.Json.Linq; namespace Microsoft.AspNet.SignalR.Hubs { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/NullJavaScriptMinifier.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/NullJavaScriptMinifier.cs index 8eca68d91..932d38d0a 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/NullJavaScriptMinifier.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/NullJavaScriptMinifier.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System.Diagnostics.CodeAnalysis; -using Microsoft.AspNet.SignalR.Hubs; namespace Microsoft.AspNet.SignalR.Hubs { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/Pipeline/HubOutgoingInvokerContext.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/Pipeline/HubOutgoingInvokerContext.cs index f36527935..8de9851f7 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/Pipeline/HubOutgoingInvokerContext.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/Pipeline/HubOutgoingInvokerContext.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System.Collections.Generic; -using System.Linq; namespace Microsoft.AspNet.SignalR.Hubs { diff --git a/src/Microsoft.AspNet.SignalR.Core/Hubs/SignalProxy.cs b/src/Microsoft.AspNet.SignalR.Core/Hubs/SignalProxy.cs index f003a59ee..1a54997ef 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Hubs/SignalProxy.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Hubs/SignalProxy.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Dynamic; using System.Threading.Tasks; -using Microsoft.AspNet.SignalR.Infrastructure; namespace Microsoft.AspNet.SignalR.Hubs { diff --git a/src/Microsoft.AspNet.SignalR.Core/IHubContext.cs b/src/Microsoft.AspNet.SignalR.Core/IHubContext.cs index e5b543d5d..db33cc64d 100644 --- a/src/Microsoft.AspNet.SignalR.Core/IHubContext.cs +++ b/src/Microsoft.AspNet.SignalR.Core/IHubContext.cs @@ -1,6 +1,5 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. -using System; using Microsoft.AspNet.SignalR.Hubs; namespace Microsoft.AspNet.SignalR diff --git a/src/Microsoft.AspNet.SignalR.Core/IPersistentConnectionContext.cs b/src/Microsoft.AspNet.SignalR.Core/IPersistentConnectionContext.cs index a9b6debda..da291fa98 100644 --- a/src/Microsoft.AspNet.SignalR.Core/IPersistentConnectionContext.cs +++ b/src/Microsoft.AspNet.SignalR.Core/IPersistentConnectionContext.cs @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. -using System; - namespace Microsoft.AspNet.SignalR { /// diff --git a/src/Microsoft.AspNet.SignalR.Core/IRequest.cs b/src/Microsoft.AspNet.SignalR.Core/IRequest.cs index 496d0e186..da5859f51 100644 --- a/src/Microsoft.AspNet.SignalR.Core/IRequest.cs +++ b/src/Microsoft.AspNet.SignalR.Core/IRequest.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Security.Principal; -using System.Threading.Tasks; namespace Microsoft.AspNet.SignalR { diff --git a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/Connection.cs b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/Connection.cs index d2109e3bf..092dcebdb 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/Connection.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/Connection.cs @@ -7,8 +7,6 @@ using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Runtime.Serialization; -using System.Text; -using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Json; using Microsoft.AspNet.SignalR.Messaging; diff --git a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/ConnectionManager.cs b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/ConnectionManager.cs index 994b3a8f2..9f74ff10e 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/ConnectionManager.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/ConnectionManager.cs @@ -2,11 +2,8 @@ using System; using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Hubs; -using Microsoft.AspNet.SignalR.Infrastructure; using Microsoft.AspNet.SignalR.Json; using Microsoft.AspNet.SignalR.Messaging; using Microsoft.AspNet.SignalR.Tracing; diff --git a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/Disposer.cs b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/Disposer.cs index 13273943a..ab0155acd 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/Disposer.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/Disposer.cs @@ -2,7 +2,6 @@ using System; using System.Diagnostics; -using System.Diagnostics.CodeAnalysis; using System.Threading; namespace Microsoft.AspNet.SignalR.Infrastructure diff --git a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/IAckHandler.cs b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/IAckHandler.cs index bbdc3c36f..977b2385f 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/IAckHandler.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/IAckHandler.cs @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. -using System; -using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Microsoft.AspNet.SignalR.Infrastructure diff --git a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/IPerformanceCounterManager.cs b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/IPerformanceCounterManager.cs index 84293c354..c2d6b73e9 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/IPerformanceCounterManager.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/IPerformanceCounterManager.cs @@ -1,6 +1,5 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. -using System.Diagnostics; using System.Threading; namespace Microsoft.AspNet.SignalR.Infrastructure diff --git a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterManager.cs b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterManager.cs index d7d8e7550..11b9a3577 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterManager.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterManager.cs @@ -7,8 +7,6 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.Threading; -using System.Threading.Tasks; - #if !UTILS using Microsoft.AspNet.SignalR.Tracing; #endif diff --git a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/SafeCancellationTokenSource.cs b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/SafeCancellationTokenSource.cs index fb45915ff..e2506de52 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/SafeCancellationTokenSource.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/SafeCancellationTokenSource.cs @@ -2,7 +2,6 @@ using System; using System.Threading; -using System.Threading.Tasks; namespace Microsoft.AspNet.SignalR.Infrastructure { diff --git a/src/Microsoft.AspNet.SignalR.Core/Json/JsonNetSerializer.cs b/src/Microsoft.AspNet.SignalR.Core/Json/JsonNetSerializer.cs index 39d72e472..4b0f53cf5 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Json/JsonNetSerializer.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Json/JsonNetSerializer.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Collections.Generic; using System.IO; using Newtonsoft.Json; diff --git a/src/Microsoft.AspNet.SignalR.Core/Json/JsonUtility.cs b/src/Microsoft.AspNet.SignalR.Core/Json/JsonUtility.cs index 4acec1024..534b261ba 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Json/JsonUtility.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Json/JsonUtility.cs @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.CodeDom.Compiler; -using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Text; diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/Command.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/Command.cs index d3d7d104d..c14c97af9 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/Command.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/Command.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Diagnostics.CodeAnalysis; namespace Microsoft.AspNet.SignalR.Messaging { diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/IMessageBus.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/IMessageBus.cs index b52510ca1..e229d739d 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/IMessageBus.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/IMessageBus.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Collections.Generic; using System.Threading.Tasks; namespace Microsoft.AspNet.SignalR.Messaging diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/LocalEventKeyInfo.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/LocalEventKeyInfo.cs index 2232cde05..81ef9c362 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/LocalEventKeyInfo.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/LocalEventKeyInfo.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Collections.Generic; namespace Microsoft.AspNet.SignalR.Messaging { diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/MessageBusExtensions.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/MessageBusExtensions.cs index 874a314e1..6da8de78f 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/MessageBusExtensions.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/MessageBusExtensions.cs @@ -2,8 +2,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; -using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Infrastructure; diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/MessageResult.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/MessageResult.cs index 31a68beb9..e1d605d4a 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/MessageResult.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/MessageResult.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Linq; namespace Microsoft.AspNet.SignalR.Messaging { diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMappingStore.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMappingStore.cs index c98a702a7..4c70376fb 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMappingStore.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMappingStore.cs @@ -3,7 +3,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; namespace Microsoft.AspNet.SignalR.Messaging { diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMessage.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMessage.cs index 88643efb4..c1aa3993a 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMessage.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMessage.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Globalization; using System.IO; namespace Microsoft.AspNet.SignalR.Messaging diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMessageBus.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMessageBus.cs index 7d9fbe10d..9c5c5d944 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMessageBus.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutMessageBus.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutStore.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutStore.cs index 8d617d06a..605447d82 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutStore.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutStore.cs @@ -1,7 +1,6 @@ using System; using System.Diagnostics.CodeAnalysis; using System.Threading; -using Microsoft.AspNet.SignalR.Infrastructure; namespace Microsoft.AspNet.SignalR.Messaging { diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutStreamManager.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutStreamManager.cs index c0371ba6c..003822377 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutStreamManager.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/ScaleoutStreamManager.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; -using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Infrastructure; diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/Subscription.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/Subscription.cs index 5aaeecc5a..0417beab2 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/Subscription.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/Subscription.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Threading; diff --git a/src/Microsoft.AspNet.SignalR.Core/Messaging/Volatile.cs b/src/Microsoft.AspNet.SignalR.Core/Messaging/Volatile.cs index e95726947..d4ce8a10e 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Messaging/Volatile.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Messaging/Volatile.cs @@ -1,6 +1,5 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. -using System; using System.Threading; namespace Microsoft.AspNet.SignalR.Messaging diff --git a/src/Microsoft.AspNet.SignalR.Core/PersistentConnection.cs b/src/Microsoft.AspNet.SignalR.Core/PersistentConnection.cs index ea6d96f35..ba9fc4079 100644 --- a/src/Microsoft.AspNet.SignalR.Core/PersistentConnection.cs +++ b/src/Microsoft.AspNet.SignalR.Core/PersistentConnection.cs @@ -6,7 +6,6 @@ using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; -using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Configuration; using Microsoft.AspNet.SignalR.Hosting; diff --git a/src/Microsoft.AspNet.SignalR.Core/Resources.Designer.cs b/src/Microsoft.AspNet.SignalR.Core/Resources.Designer.cs index 312c37c5f..92f0119ea 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Resources.Designer.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Resources.Designer.cs @@ -9,9 +9,6 @@ //------------------------------------------------------------------------------ namespace Microsoft.AspNet.SignalR { - using System; - - /// /// A strongly-typed resource class, for looking up localized strings, etc. /// diff --git a/src/Microsoft.AspNet.SignalR.Core/TaskAsyncHelper.cs b/src/Microsoft.AspNet.SignalR.Core/TaskAsyncHelper.cs index 56e25d106..d66c1d5b4 100644 --- a/src/Microsoft.AspNet.SignalR.Core/TaskAsyncHelper.cs +++ b/src/Microsoft.AspNet.SignalR.Core/TaskAsyncHelper.cs @@ -1,16 +1,11 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Collections; -using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; -using System.Globalization; using System.Linq; -using System.Reflection; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.SignalR.Infrastructure; namespace Microsoft.AspNet.SignalR { diff --git a/src/Microsoft.AspNet.SignalR.Core/Tracing/TraceSourceExtensions.cs b/src/Microsoft.AspNet.SignalR.Core/Tracing/TraceSourceExtensions.cs index 27a97c090..745304bd5 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Tracing/TraceSourceExtensions.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Tracing/TraceSourceExtensions.cs @@ -1,7 +1,5 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. -using System.Diagnostics; - namespace System.Diagnostics { public static class TraceSourceExtensions diff --git a/src/Microsoft.AspNet.SignalR.Core/Transports/ForeverFrameTransport.cs b/src/Microsoft.AspNet.SignalR.Core/Transports/ForeverFrameTransport.cs index 9828d675b..275e0a0bd 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Transports/ForeverFrameTransport.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Transports/ForeverFrameTransport.cs @@ -4,7 +4,6 @@ using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; -using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Hosting; using Microsoft.AspNet.SignalR.Infrastructure; diff --git a/src/Microsoft.AspNet.SignalR.Core/Transports/ITransport.cs b/src/Microsoft.AspNet.SignalR.Core/Transports/ITransport.cs index 1bf870bcc..f9544306c 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Transports/ITransport.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Transports/ITransport.cs @@ -1,9 +1,7 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Collections.Generic; using System.Threading.Tasks; -using Microsoft.AspNet.SignalR.Infrastructure; namespace Microsoft.AspNet.SignalR.Transports { diff --git a/src/Microsoft.AspNet.SignalR.Core/Transports/ITransportConnection.cs b/src/Microsoft.AspNet.SignalR.Core/Transports/ITransportConnection.cs index ee41c6c1e..50465c2f8 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Transports/ITransportConnection.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Transports/ITransportConnection.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Threading; using System.Threading.Tasks; namespace Microsoft.AspNet.SignalR.Transports diff --git a/src/Microsoft.AspNet.SignalR.Core/Transports/LongPollingTransport.cs b/src/Microsoft.AspNet.SignalR.Core/Transports/LongPollingTransport.cs index 2c645c794..543d255bd 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Transports/LongPollingTransport.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Transports/LongPollingTransport.cs @@ -3,7 +3,6 @@ using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; -using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Hosting; using Microsoft.AspNet.SignalR.Infrastructure; diff --git a/src/Microsoft.AspNet.SignalR.Core/Transports/WebSocketTransport.cs b/src/Microsoft.AspNet.SignalR.Core/Transports/WebSocketTransport.cs index 66b4838e3..f70b4a48d 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Transports/WebSocketTransport.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Transports/WebSocketTransport.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; -using System.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNet.SignalR.Owin/Infrastructure/Headers.cs b/src/Microsoft.AspNet.SignalR.Owin/Infrastructure/Headers.cs index ed5e9563f..c320568c9 100644 --- a/src/Microsoft.AspNet.SignalR.Owin/Infrastructure/Headers.cs +++ b/src/Microsoft.AspNet.SignalR.Owin/Infrastructure/Headers.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; -using System.Linq; namespace Microsoft.AspNet.SignalR.Owin.Infrastructure { diff --git a/src/Microsoft.AspNet.SignalR.Owin/Resources.Designer.cs b/src/Microsoft.AspNet.SignalR.Owin/Resources.Designer.cs index 8160cb100..2925d4911 100644 --- a/src/Microsoft.AspNet.SignalR.Owin/Resources.Designer.cs +++ b/src/Microsoft.AspNet.SignalR.Owin/Resources.Designer.cs @@ -9,9 +9,6 @@ //------------------------------------------------------------------------------ namespace Microsoft.AspNet.SignalR.Owin { - using System; - - /// /// A strongly-typed resource class, for looking up localized strings, etc. /// diff --git a/src/Microsoft.AspNet.SignalR.Owin/ServerRequest.cs b/src/Microsoft.AspNet.SignalR.Owin/ServerRequest.cs index 399c8dc5c..b2d2ac492 100644 --- a/src/Microsoft.AspNet.SignalR.Owin/ServerRequest.cs +++ b/src/Microsoft.AspNet.SignalR.Owin/ServerRequest.cs @@ -7,7 +7,6 @@ using System.Security.Principal; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Owin.Infrastructure; -using Microsoft.AspNet.SignalR.Hosting; namespace Microsoft.AspNet.SignalR.Owin { diff --git a/src/Microsoft.AspNet.SignalR.Owin/ServerResponse.cs b/src/Microsoft.AspNet.SignalR.Owin/ServerResponse.cs index bdf7a5ba6..f0293ad9b 100644 --- a/src/Microsoft.AspNet.SignalR.Owin/ServerResponse.cs +++ b/src/Microsoft.AspNet.SignalR.Owin/ServerResponse.cs @@ -6,7 +6,6 @@ using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Hosting; -using Microsoft.AspNet.SignalR.Owin.Infrastructure; namespace Microsoft.AspNet.SignalR.Owin { diff --git a/src/MonoTorrent/BEncoding/BEncodedDictionary.cs b/src/MonoTorrent/BEncoding/BEncodedDictionary.cs index 7efd11392..3329c6848 100644 --- a/src/MonoTorrent/BEncoding/BEncodedDictionary.cs +++ b/src/MonoTorrent/BEncoding/BEncodedDictionary.cs @@ -1,7 +1,6 @@ using System; using System.IO; using System.Collections.Generic; -using System.Text; namespace MonoTorrent.BEncoding { diff --git a/src/MonoTorrent/BEncoding/BEncodedList.cs b/src/MonoTorrent/BEncoding/BEncodedList.cs index 5dda07fe8..13f910c72 100644 --- a/src/MonoTorrent/BEncoding/BEncodedList.cs +++ b/src/MonoTorrent/BEncoding/BEncodedList.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Text; -using System.IO; namespace MonoTorrent.BEncoding { diff --git a/src/MonoTorrent/BEncoding/BEncodedNumber.cs b/src/MonoTorrent/BEncoding/BEncodedNumber.cs index 9f227399c..ef634007c 100644 --- a/src/MonoTorrent/BEncoding/BEncodedNumber.cs +++ b/src/MonoTorrent/BEncoding/BEncodedNumber.cs @@ -1,7 +1,4 @@ using System; -using System.IO; -using System.Text; -using System.Collections.Generic; namespace MonoTorrent.BEncoding { diff --git a/src/MonoTorrent/BEncoding/BEncodingException.cs b/src/MonoTorrent/BEncoding/BEncodingException.cs index 6e95b9ecf..fdbc87c24 100644 --- a/src/MonoTorrent/BEncoding/BEncodingException.cs +++ b/src/MonoTorrent/BEncoding/BEncodingException.cs @@ -1,5 +1,4 @@ using System; -using System.Text; using System.Runtime.Serialization; namespace MonoTorrent.BEncoding diff --git a/src/MonoTorrent/BEncoding/IBEncodedValue.cs b/src/MonoTorrent/BEncoding/IBEncodedValue.cs index 0097e0e50..357ec5739 100644 --- a/src/MonoTorrent/BEncoding/IBEncodedValue.cs +++ b/src/MonoTorrent/BEncoding/IBEncodedValue.cs @@ -1,6 +1,5 @@ using System; using System.IO; -using System.Text; namespace MonoTorrent.BEncoding { diff --git a/src/MonoTorrent/BEncoding/RawReader.cs b/src/MonoTorrent/BEncoding/RawReader.cs index 47cc983f6..9088c5ca8 100644 --- a/src/MonoTorrent/BEncoding/RawReader.cs +++ b/src/MonoTorrent/BEncoding/RawReader.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; using System.IO; namespace MonoTorrent.BEncoding diff --git a/src/MonoTorrent/RawTrackerTier.cs b/src/MonoTorrent/RawTrackerTier.cs index 43677fa4e..c8efaba74 100644 --- a/src/MonoTorrent/RawTrackerTier.cs +++ b/src/MonoTorrent/RawTrackerTier.cs @@ -1,4 +1,3 @@ -using System; using System.Collections; using System.Collections.Generic; diff --git a/src/MonoTorrent/RawTrackerTiers.cs b/src/MonoTorrent/RawTrackerTiers.cs index 5ea50e3ab..a393318c0 100644 --- a/src/MonoTorrent/RawTrackerTiers.cs +++ b/src/MonoTorrent/RawTrackerTiers.cs @@ -1,4 +1,3 @@ -using System; using System.Collections; using System.Collections.Generic; diff --git a/src/NzbDrone.Api.Test/DirectoryLookupServiceFixture.cs b/src/NzbDrone.Api.Test/DirectoryLookupServiceFixture.cs index 3fbdac946..35fd2d18f 100644 --- a/src/NzbDrone.Api.Test/DirectoryLookupServiceFixture.cs +++ b/src/NzbDrone.Api.Test/DirectoryLookupServiceFixture.cs @@ -5,7 +5,6 @@ using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Api.Directories; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Api.Test/MappingTests/ResourceMappingFixture.cs b/src/NzbDrone.Api.Test/MappingTests/ResourceMappingFixture.cs index 8181d46a7..33f4b35e8 100644 --- a/src/NzbDrone.Api.Test/MappingTests/ResourceMappingFixture.cs +++ b/src/NzbDrone.Api.Test/MappingTests/ResourceMappingFixture.cs @@ -15,7 +15,6 @@ using NzbDrone.Api.Profiles; using NzbDrone.Api.RootFolders; using NzbDrone.Api.Series; using NzbDrone.Core.DecisionEngine; -using NzbDrone.Core.Indexers; using NzbDrone.Core.Instrumentation; using NzbDrone.Core.Messaging.Commands; using NzbDrone.Core.Organizer; diff --git a/src/NzbDrone.Api/Blacklist/BlacklistModule.cs b/src/NzbDrone.Api/Blacklist/BlacklistModule.cs index b35596a01..7cfdab79d 100644 --- a/src/NzbDrone.Api/Blacklist/BlacklistModule.cs +++ b/src/NzbDrone.Api/Blacklist/BlacklistModule.cs @@ -1,5 +1,4 @@ -using System; -using NzbDrone.Core.Blacklisting; +using NzbDrone.Core.Blacklisting; using NzbDrone.Core.Datastore; namespace NzbDrone.Api.Blacklist diff --git a/src/NzbDrone.Api/Calendar/CalendarFeedModule.cs b/src/NzbDrone.Api/Calendar/CalendarFeedModule.cs index 0ca6b0235..14a07e2dd 100644 --- a/src/NzbDrone.Api/Calendar/CalendarFeedModule.cs +++ b/src/NzbDrone.Api/Calendar/CalendarFeedModule.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using DDay.iCal; using NzbDrone.Core.Tv; using Nancy.Responses; diff --git a/src/NzbDrone.Api/Config/HostConfigModule.cs b/src/NzbDrone.Api/Config/HostConfigModule.cs index c5103222c..0d8924075 100644 --- a/src/NzbDrone.Api/Config/HostConfigModule.cs +++ b/src/NzbDrone.Api/Config/HostConfigModule.cs @@ -5,7 +5,6 @@ using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Core.Configuration; using NzbDrone.Core.Update; using NzbDrone.Core.Validation; -using NzbDrone.Core.Validation.Paths; using Omu.ValueInjecter; namespace NzbDrone.Api.Config diff --git a/src/NzbDrone.Api/Directories/DirectoryLookupService.cs b/src/NzbDrone.Api/Directories/DirectoryLookupService.cs index 39af46d0a..095e490b2 100644 --- a/src/NzbDrone.Api/Directories/DirectoryLookupService.cs +++ b/src/NzbDrone.Api/Directories/DirectoryLookupService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using NzbDrone.Common; using NzbDrone.Common.Disk; namespace NzbDrone.Api.Directories diff --git a/src/NzbDrone.Api/Directories/DirectoryModule.cs b/src/NzbDrone.Api/Directories/DirectoryModule.cs index 1622895bf..d15a00a4c 100644 --- a/src/NzbDrone.Api/Directories/DirectoryModule.cs +++ b/src/NzbDrone.Api/Directories/DirectoryModule.cs @@ -2,7 +2,6 @@ using System.Linq; using Nancy; using NzbDrone.Api.Extensions; -using NzbDrone.Common; using NzbDrone.Common.Extensions; namespace NzbDrone.Api.Directories diff --git a/src/NzbDrone.Api/Episodes/RenameEpisodeResource.cs b/src/NzbDrone.Api/Episodes/RenameEpisodeResource.cs index 9598de0ce..bba61701b 100644 --- a/src/NzbDrone.Api/Episodes/RenameEpisodeResource.cs +++ b/src/NzbDrone.Api/Episodes/RenameEpisodeResource.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using NzbDrone.Api.REST; namespace NzbDrone.Api.Episodes diff --git a/src/NzbDrone.Api/Extensions/Pipelines/CorsPipeline.cs b/src/NzbDrone.Api/Extensions/Pipelines/CorsPipeline.cs index 028be1dd5..f34677f38 100644 --- a/src/NzbDrone.Api/Extensions/Pipelines/CorsPipeline.cs +++ b/src/NzbDrone.Api/Extensions/Pipelines/CorsPipeline.cs @@ -1,7 +1,5 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; using Nancy; using Nancy.Bootstrapper; diff --git a/src/NzbDrone.Api/Frontend/CacheableSpecification.cs b/src/NzbDrone.Api/Frontend/CacheableSpecification.cs index 04cd57f7d..ff606e8a4 100644 --- a/src/NzbDrone.Api/Frontend/CacheableSpecification.cs +++ b/src/NzbDrone.Api/Frontend/CacheableSpecification.cs @@ -1,6 +1,5 @@ using System; using Nancy; -using NzbDrone.Common; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/Frontend/Mappers/BackupFileMapper.cs b/src/NzbDrone.Api/Frontend/Mappers/BackupFileMapper.cs index b9e82d5b2..9e4912524 100644 --- a/src/NzbDrone.Api/Frontend/Mappers/BackupFileMapper.cs +++ b/src/NzbDrone.Api/Frontend/Mappers/BackupFileMapper.cs @@ -1,6 +1,5 @@ using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs b/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs index f0e1086ef..9466cb6ce 100644 --- a/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs +++ b/src/NzbDrone.Api/Frontend/Mappers/IndexHtmlMapper.cs @@ -1,6 +1,5 @@ using System; using System.IO; -using System.Runtime.InteropServices; using System.Text.RegularExpressions; using Nancy; using NLog; diff --git a/src/NzbDrone.Api/Frontend/Mappers/LogFileMapper.cs b/src/NzbDrone.Api/Frontend/Mappers/LogFileMapper.cs index d259c2f3b..5fda7d483 100644 --- a/src/NzbDrone.Api/Frontend/Mappers/LogFileMapper.cs +++ b/src/NzbDrone.Api/Frontend/Mappers/LogFileMapper.cs @@ -1,6 +1,5 @@ using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/Frontend/Mappers/MediaCoverMapper.cs b/src/NzbDrone.Api/Frontend/Mappers/MediaCoverMapper.cs index 6c27958fc..e0c967a7e 100644 --- a/src/NzbDrone.Api/Frontend/Mappers/MediaCoverMapper.cs +++ b/src/NzbDrone.Api/Frontend/Mappers/MediaCoverMapper.cs @@ -1,6 +1,5 @@ using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/Frontend/Mappers/StaticResourceMapperBase.cs b/src/NzbDrone.Api/Frontend/Mappers/StaticResourceMapperBase.cs index 4f5e635bc..1ef70d2af 100644 --- a/src/NzbDrone.Api/Frontend/Mappers/StaticResourceMapperBase.cs +++ b/src/NzbDrone.Api/Frontend/Mappers/StaticResourceMapperBase.cs @@ -2,7 +2,6 @@ using System.IO; using NLog; using Nancy; using Nancy.Responses; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; diff --git a/src/NzbDrone.Api/Frontend/Mappers/UpdateLogFileMapper.cs b/src/NzbDrone.Api/Frontend/Mappers/UpdateLogFileMapper.cs index ca76155be..021bdba58 100644 --- a/src/NzbDrone.Api/Frontend/Mappers/UpdateLogFileMapper.cs +++ b/src/NzbDrone.Api/Frontend/Mappers/UpdateLogFileMapper.cs @@ -1,6 +1,5 @@ using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/Logs/LogFileModule.cs b/src/NzbDrone.Api/Logs/LogFileModule.cs index 91cadb758..464d8d041 100644 --- a/src/NzbDrone.Api/Logs/LogFileModule.cs +++ b/src/NzbDrone.Api/Logs/LogFileModule.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using System.IO; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/Logs/UpdateLogFileModule.cs b/src/NzbDrone.Api/Logs/UpdateLogFileModule.cs index 17a14b8cb..de48d12df 100644 --- a/src/NzbDrone.Api/Logs/UpdateLogFileModule.cs +++ b/src/NzbDrone.Api/Logs/UpdateLogFileModule.cs @@ -1,10 +1,8 @@ using System; -using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/MediaCovers/MediaCoverModule.cs b/src/NzbDrone.Api/MediaCovers/MediaCoverModule.cs index 465a584a1..e569b870f 100644 --- a/src/NzbDrone.Api/MediaCovers/MediaCoverModule.cs +++ b/src/NzbDrone.Api/MediaCovers/MediaCoverModule.cs @@ -1,7 +1,6 @@ using System.IO; using Nancy; using Nancy.Responses; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/Profiles/LegacyProfileModule.cs b/src/NzbDrone.Api/Profiles/LegacyProfileModule.cs index e28733608..341e930b1 100644 --- a/src/NzbDrone.Api/Profiles/LegacyProfileModule.cs +++ b/src/NzbDrone.Api/Profiles/LegacyProfileModule.cs @@ -1,7 +1,6 @@ using System; using System.Text; using Nancy; -using Nancy.Responses; namespace NzbDrone.Api.Profiles { diff --git a/src/NzbDrone.Api/RemotePathMappings/RemotePathMappingModule.cs b/src/NzbDrone.Api/RemotePathMappings/RemotePathMappingModule.cs index 9a894e20f..43c5d13be 100644 --- a/src/NzbDrone.Api/RemotePathMappings/RemotePathMappingModule.cs +++ b/src/NzbDrone.Api/RemotePathMappings/RemotePathMappingModule.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using FluentValidation; -using NzbDrone.Api.Config; using NzbDrone.Api.Mapping; using NzbDrone.Core.RemotePathMappings; using NzbDrone.Core.Validation.Paths; diff --git a/src/NzbDrone.Api/Series/SeasonResource.cs b/src/NzbDrone.Api/Series/SeasonResource.cs index 2d68fdee4..aa6b58bb9 100644 --- a/src/NzbDrone.Api/Series/SeasonResource.cs +++ b/src/NzbDrone.Api/Series/SeasonResource.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Api.Series { diff --git a/src/NzbDrone.Api/Series/SeriesModule.cs b/src/NzbDrone.Api/Series/SeriesModule.cs index 1d09a8fdb..923479f40 100644 --- a/src/NzbDrone.Api/Series/SeriesModule.cs +++ b/src/NzbDrone.Api/Series/SeriesModule.cs @@ -2,8 +2,6 @@ using System.Collections.Generic; using System.Linq; using FluentValidation; -using NzbDrone.Common; -using NzbDrone.Common.Extensions; using NzbDrone.Core.Datastore.Events; using NzbDrone.Core.MediaCover; using NzbDrone.Core.MediaFiles; diff --git a/src/NzbDrone.Api/System/SystemModule.cs b/src/NzbDrone.Api/System/SystemModule.cs index 423fc222d..e69227da3 100644 --- a/src/NzbDrone.Api/System/SystemModule.cs +++ b/src/NzbDrone.Api/System/SystemModule.cs @@ -1,6 +1,5 @@ using Nancy; using Nancy.Routing; -using NzbDrone.Common; using NzbDrone.Api.Extensions; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Api/System/Tasks/TaskModule.cs b/src/NzbDrone.Api/System/Tasks/TaskModule.cs index e13fadf9b..db8c4f376 100644 --- a/src/NzbDrone.Api/System/Tasks/TaskModule.cs +++ b/src/NzbDrone.Api/System/Tasks/TaskModule.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using NzbDrone.Core.Datastore.Events; diff --git a/src/NzbDrone.Common.Test/DiskProviderTests/FreeSpaceFixtureBase.cs b/src/NzbDrone.Common.Test/DiskProviderTests/FreeSpaceFixtureBase.cs index d59cb37e5..09325c84e 100644 --- a/src/NzbDrone.Common.Test/DiskProviderTests/FreeSpaceFixtureBase.cs +++ b/src/NzbDrone.Common.Test/DiskProviderTests/FreeSpaceFixtureBase.cs @@ -1,6 +1,5 @@ using System; using System.IO; -using System.Linq; using FluentAssertions; using NUnit.Framework; using NzbDrone.Common.Disk; diff --git a/src/NzbDrone.Common.Test/DiskProviderTests/IsParentFixtureBase.cs b/src/NzbDrone.Common.Test/DiskProviderTests/IsParentFixtureBase.cs index 9de173002..3101be597 100644 --- a/src/NzbDrone.Common.Test/DiskProviderTests/IsParentFixtureBase.cs +++ b/src/NzbDrone.Common.Test/DiskProviderTests/IsParentFixtureBase.cs @@ -1,7 +1,4 @@ -using FluentAssertions; -using NUnit.Framework; -using NzbDrone.Common.Disk; -using NzbDrone.Test.Common; +using NzbDrone.Test.Common; namespace NzbDrone.Common.Test.DiskProviderTests { diff --git a/src/NzbDrone.Common.Test/InstrumentationTests/CleanseLogMessageFixture.cs b/src/NzbDrone.Common.Test/InstrumentationTests/CleanseLogMessageFixture.cs index 0e07f29de..167f14776 100644 --- a/src/NzbDrone.Common.Test/InstrumentationTests/CleanseLogMessageFixture.cs +++ b/src/NzbDrone.Common.Test/InstrumentationTests/CleanseLogMessageFixture.cs @@ -1,7 +1,4 @@ using System; -using System.Linq; -using System.Text; -using System.Collections.Generic; using NUnit.Framework; using NzbDrone.Common.Instrumentation; using FluentAssertions; diff --git a/src/NzbDrone.Common.Test/LevenshteinDistanceFixture.cs b/src/NzbDrone.Common.Test/LevenshteinDistanceFixture.cs index 58053b53a..a052b016b 100644 --- a/src/NzbDrone.Common.Test/LevenshteinDistanceFixture.cs +++ b/src/NzbDrone.Common.Test/LevenshteinDistanceFixture.cs @@ -1,10 +1,6 @@ using System; -using System.Diagnostics; -using System.IO; using FluentAssertions; -using Moq; using NUnit.Framework; -using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Common.Test/OsPathFixture.cs b/src/NzbDrone.Common.Test/OsPathFixture.cs index 1e58b7eb3..4c68699e0 100644 --- a/src/NzbDrone.Common.Test/OsPathFixture.cs +++ b/src/NzbDrone.Common.Test/OsPathFixture.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using NUnit.Framework; using NzbDrone.Common.Disk; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Common.Test/PathExtensionFixture.cs b/src/NzbDrone.Common.Test/PathExtensionFixture.cs index 84c9cae70..663057325 100644 --- a/src/NzbDrone.Common.Test/PathExtensionFixture.cs +++ b/src/NzbDrone.Common.Test/PathExtensionFixture.cs @@ -1,5 +1,4 @@ using System; -using System.Diagnostics; using System.IO; using FluentAssertions; using Moq; diff --git a/src/NzbDrone.Common/Composition/IContainer.cs b/src/NzbDrone.Common/Composition/IContainer.cs index 43335f200..87d076842 100644 --- a/src/NzbDrone.Common/Composition/IContainer.cs +++ b/src/NzbDrone.Common/Composition/IContainer.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using TinyIoC; namespace NzbDrone.Common.Composition { diff --git a/src/NzbDrone.Common/ConvertBase32.cs b/src/NzbDrone.Common/ConvertBase32.cs index 0b69c2d6b..292f2bef3 100644 --- a/src/NzbDrone.Common/ConvertBase32.cs +++ b/src/NzbDrone.Common/ConvertBase32.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Common { diff --git a/src/NzbDrone.Common/Disk/OsPath.cs b/src/NzbDrone.Common/Disk/OsPath.cs index 8b746e51f..e8e3abc84 100644 --- a/src/NzbDrone.Common/Disk/OsPath.cs +++ b/src/NzbDrone.Common/Disk/OsPath.cs @@ -1,8 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; -using NzbDrone.Common.Exceptions; using NzbDrone.Common.Extensions; namespace NzbDrone.Common.Disk diff --git a/src/NzbDrone.Common/Disk/TransferMode.cs b/src/NzbDrone.Common/Disk/TransferMode.cs index 7b03db836..f1f6cab48 100644 --- a/src/NzbDrone.Common/Disk/TransferMode.cs +++ b/src/NzbDrone.Common/Disk/TransferMode.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Common.Disk { diff --git a/src/NzbDrone.Common/EnsureThat/ExpressionExtensions.cs b/src/NzbDrone.Common/EnsureThat/ExpressionExtensions.cs index 766677a78..dc4b25946 100644 --- a/src/NzbDrone.Common/EnsureThat/ExpressionExtensions.cs +++ b/src/NzbDrone.Common/EnsureThat/ExpressionExtensions.cs @@ -1,5 +1,4 @@ using System.Linq.Expressions; -using NzbDrone.Common.Cache; namespace NzbDrone.Common.EnsureThat { diff --git a/src/NzbDrone.Common/EnvironmentInfo/StartupContext.cs b/src/NzbDrone.Common/EnvironmentInfo/StartupContext.cs index 816e02e9d..42a97fd79 100644 --- a/src/NzbDrone.Common/EnvironmentInfo/StartupContext.cs +++ b/src/NzbDrone.Common/EnvironmentInfo/StartupContext.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; +using System.Collections.Generic; namespace NzbDrone.Common.EnvironmentInfo { diff --git a/src/NzbDrone.Common/Exceptions/NotParentException.cs b/src/NzbDrone.Common/Exceptions/NotParentException.cs index 62d594e60..d9b78247e 100644 --- a/src/NzbDrone.Common/Exceptions/NotParentException.cs +++ b/src/NzbDrone.Common/Exceptions/NotParentException.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace NzbDrone.Common.Exceptions +namespace NzbDrone.Common.Exceptions { public class NotParentException : NzbDroneException { diff --git a/src/NzbDrone.Common/Http/HttpAccept.cs b/src/NzbDrone.Common/Http/HttpAccept.cs index daf94449d..ef2726362 100644 --- a/src/NzbDrone.Common/Http/HttpAccept.cs +++ b/src/NzbDrone.Common/Http/HttpAccept.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Common.Http { diff --git a/src/NzbDrone.Common/Http/HttpResponse.cs b/src/NzbDrone.Common/Http/HttpResponse.cs index 999d0a4ad..8d4c5e3f3 100644 --- a/src/NzbDrone.Common/Http/HttpResponse.cs +++ b/src/NzbDrone.Common/Http/HttpResponse.cs @@ -1,8 +1,5 @@ using System; -using System.IO; -using System.Linq; using System.Net; -using System.Text; using NzbDrone.Common.Serializer; namespace NzbDrone.Common.Http @@ -59,7 +56,7 @@ namespace NzbDrone.Common.Http { var result = string.Format("Res: [{0}] {1} : {2}.{3}", Request.Method, Request.Url, (int)StatusCode, StatusCode); - if (HasHttpError) + if (HasHttpError && !Headers.ContentType.Equals("text/html", StringComparison.InvariantCultureIgnoreCase)) { result += Environment.NewLine + Content; } diff --git a/src/NzbDrone.Common/Http/JsonRpcRequestBuilder.cs b/src/NzbDrone.Common/Http/JsonRpcRequestBuilder.cs index 328a4bdb0..26fab1838 100644 --- a/src/NzbDrone.Common/Http/JsonRpcRequestBuilder.cs +++ b/src/NzbDrone.Common/Http/JsonRpcRequestBuilder.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using NzbDrone.Common.Serializer; namespace NzbDrone.Common.Http diff --git a/src/NzbDrone.Common/Http/JsonRpcResponse.cs b/src/NzbDrone.Common/Http/JsonRpcResponse.cs index 4a023a40b..0136e2881 100644 --- a/src/NzbDrone.Common/Http/JsonRpcResponse.cs +++ b/src/NzbDrone.Common/Http/JsonRpcResponse.cs @@ -1,9 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Newtonsoft.Json.Linq; -using NzbDrone.Common.Serializer; namespace NzbDrone.Common.Http { diff --git a/src/NzbDrone.Common/Instrumentation/LogTargets.cs b/src/NzbDrone.Common/Instrumentation/LogTargets.cs index dc519bb38..e44e2652b 100644 --- a/src/NzbDrone.Common/Instrumentation/LogTargets.cs +++ b/src/NzbDrone.Common/Instrumentation/LogTargets.cs @@ -6,7 +6,6 @@ using NLog.Config; using NLog.Targets; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; -using NzbDrone.Common.Processes; namespace NzbDrone.Common.Instrumentation { diff --git a/src/NzbDrone.Core.Test/Blacklisting/BlacklistRepositoryFixture.cs b/src/NzbDrone.Core.Test/Blacklisting/BlacklistRepositoryFixture.cs index 0edaa308c..e4ea99c55 100644 --- a/src/NzbDrone.Core.Test/Blacklisting/BlacklistRepositoryFixture.cs +++ b/src/NzbDrone.Core.Test/Blacklisting/BlacklistRepositoryFixture.cs @@ -6,7 +6,6 @@ using NUnit.Framework; using NzbDrone.Core.Blacklisting; using NzbDrone.Core.Qualities; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Tv; namespace NzbDrone.Core.Test.Blacklisting { diff --git a/src/NzbDrone.Core.Test/DataAugmentation/DailySeries/DailySeriesDataProxyFixture.cs b/src/NzbDrone.Core.Test/DataAugmentation/DailySeries/DailySeriesDataProxyFixture.cs index 0508d7e19..b429e24b2 100644 --- a/src/NzbDrone.Core.Test/DataAugmentation/DailySeries/DailySeriesDataProxyFixture.cs +++ b/src/NzbDrone.Core.Test/DataAugmentation/DailySeries/DailySeriesDataProxyFixture.cs @@ -2,7 +2,6 @@ using NUnit.Framework; using NzbDrone.Core.DataAugmentation.DailySeries; using NzbDrone.Core.Test.Framework; -using NzbDrone.Test.Common; using NzbDrone.Test.Common.Categories; namespace NzbDrone.Core.Test.DataAugmentation.DailySeries diff --git a/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs b/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs index bddf0ba79..761ad59cb 100644 --- a/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs +++ b/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq; +using System.Linq; using FizzWare.NBuilder; using FluentAssertions; using NUnit.Framework; diff --git a/src/NzbDrone.Core.Test/Datastore/Migration/070_delay_profileFixture.cs b/src/NzbDrone.Core.Test/Datastore/Migration/070_delay_profileFixture.cs index 7f0cf4d1b..36baea93a 100644 --- a/src/NzbDrone.Core.Test/Datastore/Migration/070_delay_profileFixture.cs +++ b/src/NzbDrone.Core.Test/Datastore/Migration/070_delay_profileFixture.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using System.Linq; +using System.Linq; using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Datastore.Migration; diff --git a/src/NzbDrone.Core.Test/Datastore/SqliteSchemaDumperTests/SqliteSchemaDumperFixture.cs b/src/NzbDrone.Core.Test/Datastore/SqliteSchemaDumperTests/SqliteSchemaDumperFixture.cs index 6ec178205..4f21838b4 100644 --- a/src/NzbDrone.Core.Test/Datastore/SqliteSchemaDumperTests/SqliteSchemaDumperFixture.cs +++ b/src/NzbDrone.Core.Test/Datastore/SqliteSchemaDumperTests/SqliteSchemaDumperFixture.cs @@ -1,12 +1,9 @@ using System; -using System.Collections.Generic; using System.Data; using System.Linq; -using System.Text; using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Datastore.Migration.Framework; -using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.Datastore.SqliteSchemaDumperTests { diff --git a/src/NzbDrone.Core.Test/DecisionEngineTests/NotInQueueSpecificationFixture.cs b/src/NzbDrone.Core.Test/DecisionEngineTests/NotInQueueSpecificationFixture.cs index 69f9dc59a..8689d1817 100644 --- a/src/NzbDrone.Core.Test/DecisionEngineTests/NotInQueueSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/DecisionEngineTests/NotInQueueSpecificationFixture.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using FizzWare.NBuilder; using FluentAssertions; -using Moq; using NUnit.Framework; using NzbDrone.Core.DecisionEngine.Specifications; using NzbDrone.Core.Download; diff --git a/src/NzbDrone.Core.Test/DecisionEngineTests/QualityAllowedByProfileSpecificationFixture.cs b/src/NzbDrone.Core.Test/DecisionEngineTests/QualityAllowedByProfileSpecificationFixture.cs index 23a646e25..e833cd8d2 100644 --- a/src/NzbDrone.Core.Test/DecisionEngineTests/QualityAllowedByProfileSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/DecisionEngineTests/QualityAllowedByProfileSpecificationFixture.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using FizzWare.NBuilder; +using FizzWare.NBuilder; using FluentAssertions; using Marr.Data; using NUnit.Framework; diff --git a/src/NzbDrone.Core.Test/DecisionEngineTests/ReleaseRestrictionsSpecificationFixture.cs b/src/NzbDrone.Core.Test/DecisionEngineTests/ReleaseRestrictionsSpecificationFixture.cs index 2c2083036..192a1b1f9 100644 --- a/src/NzbDrone.Core.Test/DecisionEngineTests/ReleaseRestrictionsSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/DecisionEngineTests/ReleaseRestrictionsSpecificationFixture.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Core.Configuration; using NzbDrone.Core.DecisionEngine.Specifications; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Restrictions; diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/Blackhole/TorrentBlackholeFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/Blackhole/TorrentBlackholeFixture.cs index 5dbd60735..ee52bb84e 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/Blackhole/TorrentBlackholeFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/Blackhole/TorrentBlackholeFixture.cs @@ -5,13 +5,9 @@ using Moq; using NUnit.Framework; using FluentAssertions; using NzbDrone.Test.Common; -using NzbDrone.Core.Test.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Http; -using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Download; -using NzbDrone.Core.Download.Clients; using NzbDrone.Core.Download.Clients.TorrentBlackhole; using System; diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/Blackhole/UsenetBlackholeFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/Blackhole/UsenetBlackholeFixture.cs index 3526345ad..4521e157b 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/Blackhole/UsenetBlackholeFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/Blackhole/UsenetBlackholeFixture.cs @@ -1,4 +1,3 @@ -using System; using System.IO; using System.Net; using System.Linq; diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/DelugeTests/DelugeFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/DelugeTests/DelugeFixture.cs index 3376ef343..113d92afa 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/DelugeTests/DelugeFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/DelugeTests/DelugeFixture.cs @@ -1,20 +1,14 @@ using System; -using System.IO; using System.Linq; using System.Collections.Generic; -using FizzWare.NBuilder; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.MediaFiles.TorrentInfo; -using NzbDrone.Core.Tv; using NzbDrone.Core.Download; using NzbDrone.Core.Download.Clients.Deluge; -using NzbDrone.Core.Parser.Model; using NzbDrone.Test.Common; -using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.Download.DownloadClientTests.DelugeTests { diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/DownloadClientFixtureBase.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/DownloadClientFixtureBase.cs index 3d52a42ca..095137dcf 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/DownloadClientFixtureBase.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/DownloadClientFixtureBase.cs @@ -1,5 +1,4 @@ using System; -using System.Net; using System.Collections.Generic; using Moq; using NUnit.Framework; diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs index a6b0e1cfc..21f9dccc0 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs @@ -1,18 +1,12 @@ using System; -using System.IO; using System.Linq; using System.Collections.Generic; -using FizzWare.NBuilder; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; -using NzbDrone.Core.Tv; using NzbDrone.Core.Download; using NzbDrone.Core.Download.Clients.Nzbget; -using NzbDrone.Core.Parser.Model; using NzbDrone.Test.Common; -using NzbDrone.Core.Test.Framework; using NzbDrone.Core.RemotePathMappings; using NzbDrone.Common.Disk; diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/PneumaticProviderFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/PneumaticProviderFixture.cs index 7e57ff0fd..95a465225 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/PneumaticProviderFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/PneumaticProviderFixture.cs @@ -3,12 +3,9 @@ using System.IO; using System.Net; using Moq; using NUnit.Framework; -using NzbDrone.Common; -using NzbDrone.Common.Disk; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NzbDrone.Core.Download; -using NzbDrone.Core.Download.Clients; using NzbDrone.Core.Download.Clients.Pneumatic; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/TransmissionTests/TransmissionFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/TransmissionTests/TransmissionFixture.cs index 93b730c12..010491e06 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/TransmissionTests/TransmissionFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/TransmissionTests/TransmissionFixture.cs @@ -1,20 +1,13 @@ using System; -using System.IO; using System.Linq; using System.Collections.Generic; -using FizzWare.NBuilder; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.MediaFiles.TorrentInfo; -using NzbDrone.Core.Tv; using NzbDrone.Core.Download; using NzbDrone.Core.Download.Clients.Transmission; -using NzbDrone.Core.Parser.Model; -using NzbDrone.Test.Common; -using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests { diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/UTorrentTests/UTorrentFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/UTorrentTests/UTorrentFixture.cs index 85d52ea03..2efff07f7 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/UTorrentTests/UTorrentFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/UTorrentTests/UTorrentFixture.cs @@ -1,20 +1,14 @@ using System; -using System.IO; using System.Linq; using System.Collections.Generic; -using FizzWare.NBuilder; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.MediaFiles.TorrentInfo; -using NzbDrone.Core.Tv; using NzbDrone.Core.Download; using NzbDrone.Core.Download.Clients.UTorrent; -using NzbDrone.Core.Parser.Model; using NzbDrone.Test.Common; -using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.Download.DownloadClientTests.UTorrentTests { diff --git a/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs index eb9736870..8a7e13fe0 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs @@ -1,4 +1,3 @@ -using System; using System.Linq; using System.Net; using FizzWare.NBuilder; diff --git a/src/NzbDrone.Core.Test/HealthCheck/Checks/DownloadClientCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/Checks/DownloadClientCheckFixture.cs index a573d2662..1615214a7 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/Checks/DownloadClientCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/Checks/DownloadClientCheckFixture.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Download; using NzbDrone.Core.HealthCheck.Checks; diff --git a/src/NzbDrone.Core.Test/HealthCheck/Checks/DroneFactoryCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/Checks/DroneFactoryCheckFixture.cs index b21d29eae..3c363c658 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/Checks/DroneFactoryCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/Checks/DroneFactoryCheckFixture.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Common.Disk; diff --git a/src/NzbDrone.Core.Test/HealthCheck/Checks/ImportMechanismCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/Checks/ImportMechanismCheckFixture.cs index 8260c03ee..f493f8027 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/Checks/ImportMechanismCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/Checks/ImportMechanismCheckFixture.cs @@ -1,8 +1,5 @@ -using System; -using System.Linq; +using System.Linq; using System.Collections.Generic; -using FluentAssertions; -using Moq; using FizzWare.NBuilder; using NUnit.Framework; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Core.Test/HealthCheck/Checks/IndexerCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/Checks/IndexerCheckFixture.cs index 6eb1d4204..22e12385d 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/Checks/IndexerCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/Checks/IndexerCheckFixture.cs @@ -1,13 +1,8 @@ using System; using System.Collections.Generic; -using System.Linq; -using FizzWare.NBuilder; -using FluentAssertions; using NUnit.Framework; -using NzbDrone.Core.Download; using NzbDrone.Core.HealthCheck.Checks; using NzbDrone.Core.Indexers; -using NzbDrone.Core.Indexers.Wombles; using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.HealthCheck.Checks diff --git a/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupDuplicateMetadataFilesFixture.cs b/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupDuplicateMetadataFilesFixture.cs index adb742dfa..99bcb8fd6 100644 --- a/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupDuplicateMetadataFilesFixture.cs +++ b/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupDuplicateMetadataFilesFixture.cs @@ -2,11 +2,9 @@ using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Housekeeping.Housekeepers; -using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Metadata; using NzbDrone.Core.Metadata.Files; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Tv; namespace NzbDrone.Core.Test.Housekeeping.Housekeepers { diff --git a/src/NzbDrone.Core.Test/IndexerTests/AnimezbTests/AnimezbFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/AnimezbTests/AnimezbFixture.cs index 660615364..68fd5481d 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/AnimezbTests/AnimezbFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/AnimezbTests/AnimezbFixture.cs @@ -1,12 +1,10 @@ -using System; -using System.Linq; +using System.Linq; using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.Animezb; -using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.ThingiProvider; diff --git a/src/NzbDrone.Core.Test/IndexerTests/BroadcastheNetTests/BroadcastheNetFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/BroadcastheNetTests/BroadcastheNetFixture.cs index 839d75deb..fc1ec0af5 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/BroadcastheNetTests/BroadcastheNetFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/BroadcastheNetTests/BroadcastheNetFixture.cs @@ -1,20 +1,14 @@ using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.BroadcastheNet; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.ThingiProvider; using NzbDrone.Test.Common; using System; -using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Text; using FluentAssertions; -using NzbDrone.Core.Indexers.Exceptions; namespace NzbDrone.Core.Test.IndexerTests.BroadcastheNetTests { diff --git a/src/NzbDrone.Core.Test/IndexerTests/EztvTests/EztvFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/EztvTests/EztvFixture.cs index 1ff96d538..af2e680df 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/EztvTests/EztvFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/EztvTests/EztvFixture.cs @@ -1,18 +1,12 @@ using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.Eztv; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.ThingiProvider; -using NzbDrone.Test.Common; using System; -using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Text; using FluentAssertions; namespace NzbDrone.Core.Test.IndexerTests.EztvTests diff --git a/src/NzbDrone.Core.Test/IndexerTests/FanzubTests/FanzubFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/FanzubTests/FanzubFixture.cs index 86cfa2960..3f21eb007 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/FanzubTests/FanzubFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/FanzubTests/FanzubFixture.cs @@ -6,7 +6,6 @@ using NUnit.Framework; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.Fanzub; -using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.ThingiProvider; diff --git a/src/NzbDrone.Core.Test/IndexerTests/IPTorrentsTests/IPTorrentsFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/IPTorrentsTests/IPTorrentsFixture.cs index a3aeb8ce1..3fd02c0fd 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/IPTorrentsTests/IPTorrentsFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/IPTorrentsTests/IPTorrentsFixture.cs @@ -1,18 +1,12 @@ using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.IPTorrents; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.ThingiProvider; -using NzbDrone.Test.Common; using System; -using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Text; using FluentAssertions; namespace NzbDrone.Core.Test.IndexerTests.IPTorrentsTests diff --git a/src/NzbDrone.Core.Test/IndexerTests/KickassTorrentsTests/KickassTorrentsFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/KickassTorrentsTests/KickassTorrentsFixture.cs index 361dd263a..728f75dd1 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/KickassTorrentsTests/KickassTorrentsFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/KickassTorrentsTests/KickassTorrentsFixture.cs @@ -1,18 +1,13 @@ using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.KickassTorrents; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.ThingiProvider; using NzbDrone.Test.Common; using System; -using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Text; using FluentAssertions; namespace NzbDrone.Core.Test.IndexerTests.KickassTorrentsTests diff --git a/src/NzbDrone.Core.Test/IndexerTests/NewznabTests/NewznabFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/NewznabTests/NewznabFixture.cs index 112af3104..bf8d4ad32 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/NewznabTests/NewznabFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/NewznabTests/NewznabFixture.cs @@ -6,9 +6,7 @@ using NUnit.Framework; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.Newznab; -using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.ThingiProvider; namespace NzbDrone.Core.Test.IndexerTests.NewznabTests { diff --git a/src/NzbDrone.Core.Test/IndexerTests/NewznabTests/NewznabRequestGeneratorFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/NewznabTests/NewznabRequestGeneratorFixture.cs index b7c7d070e..3649ede76 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/NewznabTests/NewznabRequestGeneratorFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/NewznabTests/NewznabRequestGeneratorFixture.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Indexers.Newznab; diff --git a/src/NzbDrone.Core.Test/IndexerTests/OmgwtfnzbsTests/OmgwtfnzbsFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/OmgwtfnzbsTests/OmgwtfnzbsFixture.cs index f7048e92b..37d048850 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/OmgwtfnzbsTests/OmgwtfnzbsFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/OmgwtfnzbsTests/OmgwtfnzbsFixture.cs @@ -6,9 +6,7 @@ using NUnit.Framework; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.Omgwtfnzbs; -using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.ThingiProvider; namespace NzbDrone.Core.Test.IndexerTests.OmgwtfnzbsTests { diff --git a/src/NzbDrone.Core.Test/IndexerTests/SeasonSearchFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/SeasonSearchFixture.cs index 333499ba8..1244814d6 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/SeasonSearchFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/SeasonSearchFixture.cs @@ -1,17 +1,11 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using FizzWare.NBuilder; -using FluentValidation.Results; using Moq; -using NLog; using NUnit.Framework; using NzbDrone.Common.Http; -using NzbDrone.Core.Configuration; using NzbDrone.Core.Indexers; using NzbDrone.Core.IndexerSearch.Definitions; -using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; -using NzbDrone.Core.ThingiProvider; using NzbDrone.Core.Tv; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Core.Test/IndexerTests/TestIndexer.cs b/src/NzbDrone.Core.Test/IndexerTests/TestIndexer.cs index f7ac837b4..887b1a388 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/TestIndexer.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/TestIndexer.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using NLog; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core.Test/IndexerTests/TestIndexerSettings.cs b/src/NzbDrone.Core.Test/IndexerTests/TestIndexerSettings.cs index 8b66d17e9..55d170bfc 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/TestIndexerSettings.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/TestIndexerSettings.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using FluentValidation.Results; using NzbDrone.Core.ThingiProvider; diff --git a/src/NzbDrone.Core.Test/IndexerTests/TorrentleechTests/TorrentleechFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/TorrentleechTests/TorrentleechFixture.cs index b95bad76d..cb9d2bc02 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/TorrentleechTests/TorrentleechFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/TorrentleechTests/TorrentleechFixture.cs @@ -1,18 +1,12 @@ using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.Torrentleech; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.ThingiProvider; -using NzbDrone.Test.Common; using System; -using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Text; using FluentAssertions; namespace NzbDrone.Core.Test.IndexerTests.TorrentleechTests diff --git a/src/NzbDrone.Core.Test/InstrumentationTests/DatabaseTargetFixture.cs b/src/NzbDrone.Core.Test/InstrumentationTests/DatabaseTargetFixture.cs index ea4a63bae..1171ed937 100644 --- a/src/NzbDrone.Core.Test/InstrumentationTests/DatabaseTargetFixture.cs +++ b/src/NzbDrone.Core.Test/InstrumentationTests/DatabaseTargetFixture.cs @@ -1,5 +1,4 @@ using System; -using System.Diagnostics; using FluentAssertions; using Marr.Data; using NLog; diff --git a/src/NzbDrone.Core.Test/MediaCoverTests/CoverExistsSpecificationFixture.cs b/src/NzbDrone.Core.Test/MediaCoverTests/CoverExistsSpecificationFixture.cs index c5552bbf8..bb3b0a99c 100644 --- a/src/NzbDrone.Core.Test/MediaCoverTests/CoverExistsSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/MediaCoverTests/CoverExistsSpecificationFixture.cs @@ -1,14 +1,11 @@ -using System.Collections.Generic; -using System.Net; +using System.Net; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Http; using NzbDrone.Core.MediaCover; using NzbDrone.Core.Test.Framework; -using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.MediaCoverTests { diff --git a/src/NzbDrone.Core.Test/MediaCoverTests/MediaCoverServiceFixture.cs b/src/NzbDrone.Core.Test/MediaCoverTests/MediaCoverServiceFixture.cs index 9bcfd186f..88e75621e 100644 --- a/src/NzbDrone.Core.Test/MediaCoverTests/MediaCoverServiceFixture.cs +++ b/src/NzbDrone.Core.Test/MediaCoverTests/MediaCoverServiceFixture.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Core.MediaCover; diff --git a/src/NzbDrone.Core.Test/MediaFiles/DiskScanServiceTests/ScanFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/DiskScanServiceTests/ScanFixture.cs index 71229cd69..dc5d4d60a 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/DiskScanServiceTests/ScanFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/DiskScanServiceTests/ScanFixture.cs @@ -1,5 +1,4 @@ using System; -using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/NzbDrone.Core.Test/MediaFiles/DownloadedEpisodesCommandServiceFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/DownloadedEpisodesCommandServiceFixture.cs index 3d36b9b83..328a5b549 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/DownloadedEpisodesCommandServiceFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/DownloadedEpisodesCommandServiceFixture.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using System.IO; using FizzWare.NBuilder; -using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Common.Disk; diff --git a/src/NzbDrone.Core.Test/MediaFiles/DownloadedEpisodesImportServiceFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/DownloadedEpisodesImportServiceFixture.cs index 84067408b..398a5d704 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/DownloadedEpisodesImportServiceFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/DownloadedEpisodesImportServiceFixture.cs @@ -6,9 +6,7 @@ using FizzWare.NBuilder; using Moq; using NUnit.Framework; using NzbDrone.Common.Disk; -using NzbDrone.Core.Configuration; using NzbDrone.Core.MediaFiles; -using NzbDrone.Core.MediaFiles.Commands; using NzbDrone.Core.MediaFiles.EpisodeImport; using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core.Test/MediaFiles/EpisodeFileMovingServiceTests/MoveEpisodeFileFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/EpisodeFileMovingServiceTests/MoveEpisodeFileFixture.cs index cf8ac4f7f..73b6978a5 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/EpisodeFileMovingServiceTests/MoveEpisodeFileFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/EpisodeFileMovingServiceTests/MoveEpisodeFileFixture.cs @@ -1,11 +1,9 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using FizzWare.NBuilder; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Organizer; diff --git a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/FreeSpaceSpecificationFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/FreeSpaceSpecificationFixture.cs index 6037e8681..007a52976 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/FreeSpaceSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/FreeSpaceSpecificationFixture.cs @@ -5,7 +5,6 @@ using FizzWare.NBuilder; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.Configuration; using NzbDrone.Core.MediaFiles.EpisodeImport.Specifications; diff --git a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/FullSeasonSpecificationFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/FullSeasonSpecificationFixture.cs index a62e8ba9e..cb657d47e 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/FullSeasonSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/FullSeasonSpecificationFixture.cs @@ -1,8 +1,6 @@ using FizzWare.NBuilder; using FluentAssertions; -using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Core.MediaFiles.EpisodeImport.Specifications; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs index ab3e5d1fa..3c4594c52 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs @@ -1,11 +1,8 @@ -using System; -using System.Linq; +using System.Linq; using FizzWare.NBuilder; using FluentAssertions; -using Moq; using NUnit.Framework; using NzbDrone.Core.MediaFiles.EpisodeImport.Specifications; -using NzbDrone.Core.MediaFiles.MediaInfo; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Qualities; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotUnpackingSpecificationFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotUnpackingSpecificationFixture.cs index c0665d86f..a0968314b 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotUnpackingSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotUnpackingSpecificationFixture.cs @@ -3,7 +3,6 @@ using FizzWare.NBuilder; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.Configuration; using NzbDrone.Core.MediaFiles.EpisodeImport.Specifications; diff --git a/src/NzbDrone.Core.Test/MediaFiles/MediaFileServiceTests/FilterFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/MediaFileServiceTests/FilterFixture.cs index a9007f46b..172d0c571 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/MediaFileServiceTests/FilterFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/MediaFileServiceTests/FilterFixture.cs @@ -5,7 +5,6 @@ using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Core.MediaFiles; -using NzbDrone.Core.Organizer; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Tv; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Core.Test/MediaFiles/MediaFileTableCleanupServiceFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/MediaFileTableCleanupServiceFixture.cs index 47f34a07d..a96e9de8d 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/MediaFileTableCleanupServiceFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/MediaFileTableCleanupServiceFixture.cs @@ -4,7 +4,6 @@ using System.Linq; using FizzWare.NBuilder; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.MediaFiles.Commands; diff --git a/src/NzbDrone.Core.Test/MediaFiles/UpgradeMediaFileServiceFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/UpgradeMediaFileServiceFixture.cs index 574b65e36..2dfb17e8b 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/UpgradeMediaFileServiceFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/UpgradeMediaFileServiceFixture.cs @@ -4,7 +4,6 @@ using FluentAssertions; using Marr.Data; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core.Test/Messaging/Commands/CommandEqualityComparerFixture.cs b/src/NzbDrone.Core.Test/Messaging/Commands/CommandEqualityComparerFixture.cs index 88b1f86b0..8154c7a24 100644 --- a/src/NzbDrone.Core.Test/Messaging/Commands/CommandEqualityComparerFixture.cs +++ b/src/NzbDrone.Core.Test/Messaging/Commands/CommandEqualityComparerFixture.cs @@ -6,7 +6,6 @@ using NzbDrone.Core.IndexerSearch; using NzbDrone.Core.MediaFiles.Commands; using NzbDrone.Core.Messaging.Commands; using NzbDrone.Core.Update.Commands; -using NzbDrone.SignalR; namespace NzbDrone.Core.Test.Messaging.Commands { diff --git a/src/NzbDrone.Core.Test/Metadata/Consumers/Wdtv/FindMetadataFileFixture.cs b/src/NzbDrone.Core.Test/Metadata/Consumers/Wdtv/FindMetadataFileFixture.cs index 4bdbecc1a..648f9641d 100644 --- a/src/NzbDrone.Core.Test/Metadata/Consumers/Wdtv/FindMetadataFileFixture.cs +++ b/src/NzbDrone.Core.Test/Metadata/Consumers/Wdtv/FindMetadataFileFixture.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; +using System.IO; using FizzWare.NBuilder; using FluentAssertions; using NUnit.Framework; diff --git a/src/NzbDrone.Core.Test/NotificationTests/PlexProviderTest.cs b/src/NzbDrone.Core.Test/NotificationTests/PlexProviderTest.cs index 98de20e9a..e79e7bc84 100644 --- a/src/NzbDrone.Core.Test/NotificationTests/PlexProviderTest.cs +++ b/src/NzbDrone.Core.Test/NotificationTests/PlexProviderTest.cs @@ -1,11 +1,6 @@ using System; -using System.IO; -using System.Linq; -using System.Text; -using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Notifications.Plex; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/ActivePlayersFixture.cs b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/ActivePlayersFixture.cs index a5c269444..db6b0de28 100644 --- a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/ActivePlayersFixture.cs +++ b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/ActivePlayersFixture.cs @@ -2,7 +2,6 @@ using System.Linq; using FluentAssertions; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Notifications.Xbmc; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/GetSeriesPathFixture.cs b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/GetSeriesPathFixture.cs index c64062528..ecaf84c68 100644 --- a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/GetSeriesPathFixture.cs +++ b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/GetSeriesPathFixture.cs @@ -1,7 +1,6 @@ using System; using FluentAssertions; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Notifications.Xbmc; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/UpdateFixture.cs b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/UpdateFixture.cs index ac4a19224..aad928f95 100644 --- a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/UpdateFixture.cs +++ b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Http/UpdateFixture.cs @@ -1,6 +1,5 @@ using FizzWare.NBuilder; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Notifications.Xbmc; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Json/GetSeriesPathFixture.cs b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Json/GetSeriesPathFixture.cs index f7ff7e153..c375d4f7a 100644 --- a/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Json/GetSeriesPathFixture.cs +++ b/src/NzbDrone.Core.Test/NotificationTests/Xbmc/Json/GetSeriesPathFixture.cs @@ -1,12 +1,8 @@ using System.Collections.Generic; using System.Linq; -using System.Runtime.InteropServices; using FizzWare.NBuilder; using FluentAssertions; -using Moq; using NUnit.Framework; -using NzbDrone.Common; -using NzbDrone.Common.Http; using NzbDrone.Core.Notifications.Xbmc; using NzbDrone.Core.Notifications.Xbmc.Model; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/OrganizerTests/BuildFilePathFixture.cs b/src/NzbDrone.Core.Test/OrganizerTests/BuildFilePathFixture.cs index b7821aaf8..18bf8b5ea 100644 --- a/src/NzbDrone.Core.Test/OrganizerTests/BuildFilePathFixture.cs +++ b/src/NzbDrone.Core.Test/OrganizerTests/BuildFilePathFixture.cs @@ -1,7 +1,6 @@ using FizzWare.NBuilder; using FluentAssertions; using NUnit.Framework; -using NzbDrone.Core.Configuration; using NzbDrone.Core.Organizer; using NzbDrone.Core.Tv; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/OrganizerTests/CleanFixture.cs b/src/NzbDrone.Core.Test/OrganizerTests/CleanFixture.cs index 6fc7dd90d..9e8600104 100644 --- a/src/NzbDrone.Core.Test/OrganizerTests/CleanFixture.cs +++ b/src/NzbDrone.Core.Test/OrganizerTests/CleanFixture.cs @@ -1,14 +1,7 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; using FluentAssertions; -using Moq; using NUnit.Framework; -using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Organizer; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Tv; -using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.OrganizerTests { diff --git a/src/NzbDrone.Core.Test/ParserTests/AnimeMetadataParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/AnimeMetadataParserFixture.cs index 3306d7035..599da12aa 100644 --- a/src/NzbDrone.Core.Test/ParserTests/AnimeMetadataParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/AnimeMetadataParserFixture.cs @@ -1,8 +1,5 @@ -using System; -using System.Linq; using FluentAssertions; using NUnit.Framework; -using NzbDrone.Core.Parser; using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.ParserTests diff --git a/src/NzbDrone.Core.Test/ParserTests/DailyEpisodeParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/DailyEpisodeParserFixture.cs index e57a7c69c..8fc348dd4 100644 --- a/src/NzbDrone.Core.Test/ParserTests/DailyEpisodeParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/DailyEpisodeParserFixture.cs @@ -1,12 +1,10 @@ using System; -using System.Linq; using FluentAssertions; using NUnit.Framework; using NzbDrone.Common.Expansive; using NzbDrone.Core.Parser; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Tv; -using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.ParserTests { diff --git a/src/NzbDrone.Core.Test/ParserTests/IsPossibleSpecialEpisodeFixture.cs b/src/NzbDrone.Core.Test/ParserTests/IsPossibleSpecialEpisodeFixture.cs index b295f822a..11f68da85 100644 --- a/src/NzbDrone.Core.Test/ParserTests/IsPossibleSpecialEpisodeFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/IsPossibleSpecialEpisodeFixture.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.Parser.Model; diff --git a/src/NzbDrone.Core.Test/ParserTests/NormalizeTitleFixture.cs b/src/NzbDrone.Core.Test/ParserTests/NormalizeTitleFixture.cs index c58170bc1..29539d315 100644 --- a/src/NzbDrone.Core.Test/ParserTests/NormalizeTitleFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/NormalizeTitleFixture.cs @@ -1,12 +1,8 @@ using System; -using System.Linq; using FluentAssertions; using NUnit.Framework; -using NzbDrone.Common.Expansive; using NzbDrone.Core.Parser; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Tv; -using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.ParserTests { diff --git a/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs index 9b6314158..42ae1f3e6 100644 --- a/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core.Test/ParserTests/PathParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/PathParserFixture.cs index 158898a15..c111e7fda 100644 --- a/src/NzbDrone.Core.Test/ParserTests/PathParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/PathParserFixture.cs @@ -1,11 +1,6 @@ -using System; -using System.Linq; using FluentAssertions; using NUnit.Framework; -using NzbDrone.Common.Expansive; -using NzbDrone.Core.Parser; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.ParserTests diff --git a/src/NzbDrone.Core.Test/ParserTests/SceneCheckerFixture.cs b/src/NzbDrone.Core.Test/ParserTests/SceneCheckerFixture.cs index 41f231631..487b80a12 100644 --- a/src/NzbDrone.Core.Test/ParserTests/SceneCheckerFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/SceneCheckerFixture.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using FluentAssertions; +using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core.Test/ParserTests/SeasonParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/SeasonParserFixture.cs index 624e7b1f1..75ef1ed58 100644 --- a/src/NzbDrone.Core.Test/ParserTests/SeasonParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/SeasonParserFixture.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using FluentAssertions; using NUnit.Framework; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core.Test/ParserTests/SingleEpisodeParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/SingleEpisodeParserFixture.cs index aaac796d5..2f8821e1b 100644 --- a/src/NzbDrone.Core.Test/ParserTests/SingleEpisodeParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/SingleEpisodeParserFixture.cs @@ -1,4 +1,3 @@ -using System; using System.Linq; using FluentAssertions; using NUnit.Framework; diff --git a/src/NzbDrone.Core.Test/Profiles/ProfileServiceFixture.cs b/src/NzbDrone.Core.Test/Profiles/ProfileServiceFixture.cs index daa98bd8d..c02b8df48 100644 --- a/src/NzbDrone.Core.Test/Profiles/ProfileServiceFixture.cs +++ b/src/NzbDrone.Core.Test/Profiles/ProfileServiceFixture.cs @@ -4,7 +4,6 @@ using Moq; using NUnit.Framework; using NzbDrone.Core.Lifecycle; using NzbDrone.Core.Profiles; -using NzbDrone.Core.Qualities; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/GetVideoFilesFixture.cs b/src/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/GetVideoFilesFixture.cs index e238435ac..449c251e6 100644 --- a/src/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/GetVideoFilesFixture.cs +++ b/src/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/GetVideoFilesFixture.cs @@ -3,7 +3,6 @@ using System.IO; using FluentAssertions; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/CleanupFixture.cs b/src/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/CleanupFixture.cs index 16a5fd340..ca1152b8f 100644 --- a/src/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/CleanupFixture.cs +++ b/src/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/CleanupFixture.cs @@ -2,7 +2,6 @@ using System.IO; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.Configuration; using NzbDrone.Core.MediaFiles; diff --git a/src/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/EmptyFixture.cs b/src/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/EmptyFixture.cs index 641bf8183..c48d98c08 100644 --- a/src/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/EmptyFixture.cs +++ b/src/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/EmptyFixture.cs @@ -4,7 +4,6 @@ using System; using System.IO; using Moq; using NUnit.Framework; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.Configuration; using NzbDrone.Core.MediaFiles; diff --git a/src/NzbDrone.Core.Test/Qualities/RevisionComparableFixture.cs b/src/NzbDrone.Core.Test/Qualities/RevisionComparableFixture.cs index 54bbcd033..e67640c58 100644 --- a/src/NzbDrone.Core.Test/Qualities/RevisionComparableFixture.cs +++ b/src/NzbDrone.Core.Test/Qualities/RevisionComparableFixture.cs @@ -1,6 +1,5 @@ using FluentAssertions; using NUnit.Framework; -using NzbDrone.Core.Profiles; using NzbDrone.Core.Qualities; using NzbDrone.Core.Test.Framework; diff --git a/src/NzbDrone.Core.Test/RemotePathMappingsTests/RemotePathMappingServiceFixture.cs b/src/NzbDrone.Core.Test/RemotePathMappingsTests/RemotePathMappingServiceFixture.cs index 872ca995b..eb641df22 100644 --- a/src/NzbDrone.Core.Test/RemotePathMappingsTests/RemotePathMappingServiceFixture.cs +++ b/src/NzbDrone.Core.Test/RemotePathMappingsTests/RemotePathMappingServiceFixture.cs @@ -1,13 +1,11 @@ using System; using System.Collections.Generic; -using System.IO; using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Common.Disk; using NzbDrone.Core.RemotePathMappings; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Test.Common; using FizzWare.NBuilder; diff --git a/src/NzbDrone.Core.Test/RootFolderTests/RootFolderServiceFixture.cs b/src/NzbDrone.Core.Test/RootFolderTests/RootFolderServiceFixture.cs index ce6724040..d1b40394f 100644 --- a/src/NzbDrone.Core.Test/RootFolderTests/RootFolderServiceFixture.cs +++ b/src/NzbDrone.Core.Test/RootFolderTests/RootFolderServiceFixture.cs @@ -1,13 +1,11 @@ using System; using System.Collections.Generic; using System.IO; -using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Common.Disk; using NzbDrone.Core.RootFolders; using NzbDrone.Core.Test.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.RootFolderTests diff --git a/src/NzbDrone.Core.Test/TvTests/EpisodeRepositoryTests/EpisodesWithFilesFixture.cs b/src/NzbDrone.Core.Test/TvTests/EpisodeRepositoryTests/EpisodesWithFilesFixture.cs index b6d0f5e0b..e12a8b1c0 100644 --- a/src/NzbDrone.Core.Test/TvTests/EpisodeRepositoryTests/EpisodesWithFilesFixture.cs +++ b/src/NzbDrone.Core.Test/TvTests/EpisodeRepositoryTests/EpisodesWithFilesFixture.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using FizzWare.NBuilder; using FluentAssertions; diff --git a/src/NzbDrone.Core.Test/TvTests/RefreshSeriesServiceFixture.cs b/src/NzbDrone.Core.Test/TvTests/RefreshSeriesServiceFixture.cs index ea948dd67..200aa1faf 100644 --- a/src/NzbDrone.Core.Test/TvTests/RefreshSeriesServiceFixture.cs +++ b/src/NzbDrone.Core.Test/TvTests/RefreshSeriesServiceFixture.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using FizzWare.NBuilder; -using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Core.MetadataSource; diff --git a/src/NzbDrone.Core.Test/TvTests/ShouldRefreshSeriesFixture.cs b/src/NzbDrone.Core.Test/TvTests/ShouldRefreshSeriesFixture.cs index 14d5f6d68..d0876b3aa 100644 --- a/src/NzbDrone.Core.Test/TvTests/ShouldRefreshSeriesFixture.cs +++ b/src/NzbDrone.Core.Test/TvTests/ShouldRefreshSeriesFixture.cs @@ -1,7 +1,5 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; using FizzWare.NBuilder; using FluentAssertions; using NUnit.Framework; diff --git a/src/NzbDrone.Core/Blacklisting/BlacklistService.cs b/src/NzbDrone.Core/Blacklisting/BlacklistService.cs index 0cd2ba958..b7eae3da4 100644 --- a/src/NzbDrone.Core/Blacklisting/BlacklistService.cs +++ b/src/NzbDrone.Core/Blacklisting/BlacklistService.cs @@ -1,9 +1,6 @@ using System; using System.Linq; -using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; -using NzbDrone.Core.Configuration; using NzbDrone.Core.Datastore; using NzbDrone.Core.Download; using NzbDrone.Core.Messaging.Commands; diff --git a/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs b/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs index 925ae719e..6a9bcffbb 100644 --- a/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs +++ b/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs @@ -5,7 +5,6 @@ using System.Linq; using System.Text.RegularExpressions; using System.Xml; using System.Xml.Linq; -using NzbDrone.Common; using NzbDrone.Common.Cache; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/DataAugmentation/Scene/SceneMappingRepository.cs b/src/NzbDrone.Core/DataAugmentation/Scene/SceneMappingRepository.cs index 712b528d3..fb6b47a64 100644 --- a/src/NzbDrone.Core/DataAugmentation/Scene/SceneMappingRepository.cs +++ b/src/NzbDrone.Core/DataAugmentation/Scene/SceneMappingRepository.cs @@ -1,4 +1,3 @@ -using System; using NzbDrone.Core.Datastore; using NzbDrone.Core.Messaging.Events; using System.Collections.Generic; diff --git a/src/NzbDrone.Core/DataAugmentation/Scene/SceneMappingService.cs b/src/NzbDrone.Core/DataAugmentation/Scene/SceneMappingService.cs index 431d184c8..90a7cef9b 100644 --- a/src/NzbDrone.Core/DataAugmentation/Scene/SceneMappingService.cs +++ b/src/NzbDrone.Core/DataAugmentation/Scene/SceneMappingService.cs @@ -1,7 +1,6 @@ using System; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Cache; using NzbDrone.Common.Extensions; using NzbDrone.Core.Lifecycle; diff --git a/src/NzbDrone.Core/DataAugmentation/Scene/ServicesProvider.cs b/src/NzbDrone.Core/DataAugmentation/Scene/ServicesProvider.cs index d1d5a4acc..605488cf9 100644 --- a/src/NzbDrone.Core/DataAugmentation/Scene/ServicesProvider.cs +++ b/src/NzbDrone.Core/DataAugmentation/Scene/ServicesProvider.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; namespace NzbDrone.Core.DataAugmentation.Scene { diff --git a/src/NzbDrone.Core/DataAugmentation/Xem/XemProxy.cs b/src/NzbDrone.Core/DataAugmentation/Xem/XemProxy.cs index 6f346e75c..2c9c7e617 100644 --- a/src/NzbDrone.Core/DataAugmentation/Xem/XemProxy.cs +++ b/src/NzbDrone.Core/DataAugmentation/Xem/XemProxy.cs @@ -6,7 +6,6 @@ using NLog; using NzbDrone.Common.Http; using NzbDrone.Core.DataAugmentation.Scene; using NzbDrone.Core.DataAugmentation.Xem.Model; -using Omu.ValueInjecter; namespace NzbDrone.Core.DataAugmentation.Xem { diff --git a/src/NzbDrone.Core/Datastore/BasicRepository.cs b/src/NzbDrone.Core/Datastore/BasicRepository.cs index 6288ac8cf..92721f3b3 100644 --- a/src/NzbDrone.Core/Datastore/BasicRepository.cs +++ b/src/NzbDrone.Core/Datastore/BasicRepository.cs @@ -7,7 +7,6 @@ using Marr.Data; using Marr.Data.QGen; using NzbDrone.Common.Extensions; using NzbDrone.Core.Datastore.Events; -using NzbDrone.Common; using NzbDrone.Core.Datastore.Extensions; using NzbDrone.Core.Messaging.Events; diff --git a/src/NzbDrone.Core/Datastore/ConnectionStringFactory.cs b/src/NzbDrone.Core/Datastore/ConnectionStringFactory.cs index 2dc77f755..af478a07b 100644 --- a/src/NzbDrone.Core/Datastore/ConnectionStringFactory.cs +++ b/src/NzbDrone.Core/Datastore/ConnectionStringFactory.cs @@ -1,6 +1,5 @@ using System; using System.Data.SQLite; -using NzbDrone.Common; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/Datastore/Converters/OsPathConverter.cs b/src/NzbDrone.Core/Datastore/Converters/OsPathConverter.cs index 9e460300c..fdc2a7151 100644 --- a/src/NzbDrone.Core/Datastore/Converters/OsPathConverter.cs +++ b/src/NzbDrone.Core/Datastore/Converters/OsPathConverter.cs @@ -1,10 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using Marr.Data.Converters; using Marr.Data.Mapping; -using Newtonsoft.Json; using NzbDrone.Common.Disk; namespace NzbDrone.Core.Datastore.Converters diff --git a/src/NzbDrone.Core/Datastore/Migration/034_remove_series_contraints.cs b/src/NzbDrone.Core/Datastore/Migration/034_remove_series_contraints.cs index a930e990b..8eb08798a 100644 --- a/src/NzbDrone.Core/Datastore/Migration/034_remove_series_contraints.cs +++ b/src/NzbDrone.Core/Datastore/Migration/034_remove_series_contraints.cs @@ -1,5 +1,4 @@ -using System.Data; -using FluentMigrator; +using FluentMigrator; using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration diff --git a/src/NzbDrone.Core/Datastore/Migration/051_download_client_import.cs b/src/NzbDrone.Core/Datastore/Migration/051_download_client_import.cs index 0e725430f..0035b3f4f 100644 --- a/src/NzbDrone.Core/Datastore/Migration/051_download_client_import.cs +++ b/src/NzbDrone.Core/Datastore/Migration/051_download_client_import.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Collections.Generic; using FluentMigrator; using Newtonsoft.Json; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Serializer; using NzbDrone.Core.Datastore.Migration.Framework; diff --git a/src/NzbDrone.Core/Datastore/Migration/056_add_mediainfo_to_episodefile.cs b/src/NzbDrone.Core/Datastore/Migration/056_add_mediainfo_to_episodefile.cs index f8763332b..42ad68493 100644 --- a/src/NzbDrone.Core/Datastore/Migration/056_add_mediainfo_to_episodefile.cs +++ b/src/NzbDrone.Core/Datastore/Migration/056_add_mediainfo_to_episodefile.cs @@ -1,6 +1,5 @@ using FluentMigrator; using NzbDrone.Core.Datastore.Migration.Framework; -using System.Data; namespace NzbDrone.Core.Datastore.Migration { diff --git a/src/NzbDrone.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs b/src/NzbDrone.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs index 2400b2395..279cb663a 100644 --- a/src/NzbDrone.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs +++ b/src/NzbDrone.Core/Datastore/Migration/Framework/NzbDroneSqliteProcessor.cs @@ -2,7 +2,6 @@ using System.Data; using System.Linq; using FluentMigrator; -using FluentMigrator.Exceptions; using FluentMigrator.Expressions; using FluentMigrator.Model; using FluentMigrator.Runner; diff --git a/src/NzbDrone.Core/Datastore/Migration/Framework/SqliteSyntaxReader.cs b/src/NzbDrone.Core/Datastore/Migration/Framework/SqliteSyntaxReader.cs index 89bd097a0..4c0ea735b 100644 --- a/src/NzbDrone.Core/Datastore/Migration/Framework/SqliteSyntaxReader.cs +++ b/src/NzbDrone.Core/Datastore/Migration/Framework/SqliteSyntaxReader.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Data; -using System.Linq; using System.Text; namespace NzbDrone.Core.Datastore.Migration.Framework diff --git a/src/NzbDrone.Core/DecisionEngine/DownloadDecisionMaker.cs b/src/NzbDrone.Core/DecisionEngine/DownloadDecisionMaker.cs index 7ae10d72c..8e98a9b91 100644 --- a/src/NzbDrone.Core/DecisionEngine/DownloadDecisionMaker.cs +++ b/src/NzbDrone.Core/DecisionEngine/DownloadDecisionMaker.cs @@ -2,14 +2,12 @@ using System; using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Instrumentation.Extensions; using NzbDrone.Common.Serializer; using NzbDrone.Core.IndexerSearch.Definitions; using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; -using Prowlin; namespace NzbDrone.Core.DecisionEngine { diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/AcceptableSizeSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/AcceptableSizeSpecification.cs index 1413c0e7f..eb88cfc7e 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/AcceptableSizeSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/AcceptableSizeSpecification.cs @@ -1,4 +1,3 @@ -using System; using System.Linq; using NLog; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/AnimeVersionUpgradeSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/AnimeVersionUpgradeSpecification.cs index 38594a1a7..13e632daa 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/AnimeVersionUpgradeSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/AnimeVersionUpgradeSpecification.cs @@ -1,6 +1,5 @@ using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.IndexerSearch.Definitions; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/ReleaseRestrictionsSpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/ReleaseRestrictionsSpecification.cs index 38907e504..4e997c2fe 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/ReleaseRestrictionsSpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/ReleaseRestrictionsSpecification.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.IndexerSearch.Definitions; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core/DecisionEngine/Specifications/RetrySpecification.cs b/src/NzbDrone.Core/DecisionEngine/Specifications/RetrySpecification.cs index 089a01c54..667890734 100644 --- a/src/NzbDrone.Core/DecisionEngine/Specifications/RetrySpecification.cs +++ b/src/NzbDrone.Core/DecisionEngine/Specifications/RetrySpecification.cs @@ -1,7 +1,6 @@ using System; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; using NzbDrone.Core.History; diff --git a/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs b/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs index 4265e419d..eb77bff47 100644 --- a/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs +++ b/src/NzbDrone.Core/DiskSpace/DiskSpaceService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs b/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs index 6734814eb..db7aff2fc 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs @@ -1,20 +1,15 @@ using System; -using System.IO; using System.Linq; using System.Collections.Generic; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Http; using NzbDrone.Common.Extensions; using NzbDrone.Core.MediaFiles.TorrentInfo; using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; -using NzbDrone.Core.Indexers; using NzbDrone.Core.Configuration; -using NzbDrone.Core.Messaging.Commands; using NzbDrone.Core.Validation; using NLog; -using Omu.ValueInjecter; using FluentValidation.Results; using System.Net; using NzbDrone.Core.RemotePathMappings; diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeError.cs b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeError.cs index f39146269..6c1d96f7e 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeError.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeError.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Deluge { diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeException.cs b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeException.cs index f41d6ca11..ff175a584 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeException.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeException.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Deluge { diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs index e35525f08..3c4da3d5b 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs @@ -2,7 +2,6 @@ using System.Net; using System.Linq; using System.Collections.Generic; -using NzbDrone.Common.Serializer; using NzbDrone.Core.Rest; using NLog; using RestSharp; diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeResponse.cs b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeResponse.cs index 18e0c62b5..7e9fd0759 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeResponse.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeResponse.cs @@ -1,5 +1,4 @@ using System; -using Newtonsoft.Json.Linq; namespace NzbDrone.Core.Download.Clients.Deluge { diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeTorrent.cs b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeTorrent.cs index b8b998446..13db1d0f0 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeTorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeTorrent.cs @@ -1,8 +1,5 @@ using Newtonsoft.Json; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Deluge { diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeTorrentStatus.cs b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeTorrentStatus.cs index 20e3c2e87..5c25b50ea 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeTorrentStatus.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeTorrentStatus.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Deluge { diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeUpdateUIResult.cs b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeUpdateUIResult.cs index 2fea430d1..624df2bb2 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeUpdateUIResult.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeUpdateUIResult.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Deluge { diff --git a/src/NzbDrone.Core/Download/Clients/DownloadClientAuthenticationException.cs b/src/NzbDrone.Core/Download/Clients/DownloadClientAuthenticationException.cs index a06e30906..38c956479 100644 --- a/src/NzbDrone.Core/Download/Clients/DownloadClientAuthenticationException.cs +++ b/src/NzbDrone.Core/Download/Clients/DownloadClientAuthenticationException.cs @@ -1,5 +1,4 @@ using System; -using NzbDrone.Common.Exceptions; namespace NzbDrone.Core.Download.Clients { diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs index 049124aa5..837fed58f 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Collections.Generic; using FluentValidation.Results; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetCategory.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetCategory.cs index 8a0615ad7..c9fc19a4e 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetCategory.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetCategory.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Nzbget { diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetConfigItem.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetConfigItem.cs index e04aad77f..87bb5e7f6 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetConfigItem.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetConfigItem.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Nzbget { diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetGlobalStatus.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetGlobalStatus.cs index fcf5f6e46..d34dcfa2f 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetGlobalStatus.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetGlobalStatus.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Nzbget { diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetPostQueueItem.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetPostQueueItem.cs index 450e07eab..edb436048 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetPostQueueItem.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetPostQueueItem.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Download.Clients.Nzbget { diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetResponse.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetResponse.cs index d13f53fa5..a07b37b2d 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetResponse.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetResponse.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using Newtonsoft.Json; namespace NzbDrone.Core.Download.Clients.Nzbget { diff --git a/src/NzbDrone.Core/Download/Clients/Pneumatic/Pneumatic.cs b/src/NzbDrone.Core/Download/Clients/Pneumatic/Pneumatic.cs index 0cb17f902..78a497c53 100644 --- a/src/NzbDrone.Core/Download/Clients/Pneumatic/Pneumatic.cs +++ b/src/NzbDrone.Core/Download/Clients/Pneumatic/Pneumatic.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using FluentValidation.Results; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; diff --git a/src/NzbDrone.Core/Download/Clients/Sabnzbd/Responses/SabnzbdConfigResponse.cs b/src/NzbDrone.Core/Download/Clients/Sabnzbd/Responses/SabnzbdConfigResponse.cs index ae681718a..244d6ad48 100644 --- a/src/NzbDrone.Core/Download/Clients/Sabnzbd/Responses/SabnzbdConfigResponse.cs +++ b/src/NzbDrone.Core/Download/Clients/Sabnzbd/Responses/SabnzbdConfigResponse.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace NzbDrone.Core.Download.Clients.Sabnzbd.Responses +namespace NzbDrone.Core.Download.Clients.Sabnzbd.Responses { public class SabnzbdConfigResponse { diff --git a/src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs b/src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs index 02fc4331e..f0a9db29a 100644 --- a/src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs +++ b/src/NzbDrone.Core/Download/Clients/Sabnzbd/Sabnzbd.cs @@ -1,11 +1,9 @@ using System; -using System.IO; using System.Collections.Generic; using System.Linq; using System.Threading; using FluentValidation.Results; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; diff --git a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdCategory.cs b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdCategory.cs index 18f72d271..9f9bcec8d 100644 --- a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdCategory.cs +++ b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdCategory.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using NzbDrone.Common.Disk; namespace NzbDrone.Core.Download.Clients.Sabnzbd diff --git a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs index 16a3853ec..6ca60a9cd 100644 --- a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs +++ b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs @@ -1,6 +1,4 @@ -using System; - -namespace NzbDrone.Core.Download.Clients.Sabnzbd +namespace NzbDrone.Core.Download.Clients.Sabnzbd { public enum SabnzbdDownloadStatus { diff --git a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdSettings.cs b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdSettings.cs index 932d0e00b..da726299f 100644 --- a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdSettings.cs +++ b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdSettings.cs @@ -3,7 +3,6 @@ using FluentValidation; using FluentValidation.Results; using NzbDrone.Core.Annotations; using NzbDrone.Core.ThingiProvider; -using NzbDrone.Core.Validation.Paths; namespace NzbDrone.Core.Download.Clients.Sabnzbd { diff --git a/src/NzbDrone.Core/Download/Clients/TorrentBlackhole/TorrentBlackhole.cs b/src/NzbDrone.Core/Download/Clients/TorrentBlackhole/TorrentBlackhole.cs index 4c885ca3e..04774f381 100644 --- a/src/NzbDrone.Core/Download/Clients/TorrentBlackhole/TorrentBlackhole.cs +++ b/src/NzbDrone.Core/Download/Clients/TorrentBlackhole/TorrentBlackhole.cs @@ -2,19 +2,16 @@ using System.IO; using System.Linq; using System.Collections.Generic; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NzbDrone.Core.Indexers; -using NzbDrone.Core.Messaging.Commands; using NzbDrone.Core.Organizer; using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.MediaFiles; using NLog; -using Omu.ValueInjecter; using FluentValidation.Results; using NzbDrone.Core.RemotePathMappings; diff --git a/src/NzbDrone.Core/Download/Clients/TorrentBlackhole/TorrentBlackholeSettings.cs b/src/NzbDrone.Core/Download/Clients/TorrentBlackhole/TorrentBlackholeSettings.cs index fae041c40..e3a281583 100644 --- a/src/NzbDrone.Core/Download/Clients/TorrentBlackhole/TorrentBlackholeSettings.cs +++ b/src/NzbDrone.Core/Download/Clients/TorrentBlackhole/TorrentBlackholeSettings.cs @@ -1,8 +1,5 @@ using FluentValidation; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using FluentValidation.Results; using NzbDrone.Core.Annotations; using NzbDrone.Core.ThingiProvider; diff --git a/src/NzbDrone.Core/Download/Clients/Transmission/Transmission.cs b/src/NzbDrone.Core/Download/Clients/Transmission/Transmission.cs index eb99a4ff1..80d5bb67c 100644 --- a/src/NzbDrone.Core/Download/Clients/Transmission/Transmission.cs +++ b/src/NzbDrone.Core/Download/Clients/Transmission/Transmission.cs @@ -1,9 +1,7 @@ using System; -using System.IO; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; diff --git a/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionProxy.cs b/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionProxy.cs index b15436454..72a6f036c 100644 --- a/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionProxy.cs +++ b/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionProxy.cs @@ -2,9 +2,7 @@ using System.Net; using System.Linq; using System.Collections.Generic; -using NzbDrone.Common; using NzbDrone.Common.Extensions; -using NzbDrone.Common.Serializer; using NzbDrone.Core.Rest; using NLog; using RestSharp; diff --git a/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionTorrent.cs b/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionTorrent.cs index c878a8d4e..a2775a3eb 100644 --- a/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionTorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionTorrent.cs @@ -1,6 +1,4 @@ using System; -using System.Linq; -using Newtonsoft.Json; namespace NzbDrone.Core.Download.Clients.Transmission { diff --git a/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionTorrentStatus.cs b/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionTorrentStatus.cs index 662e3f3b0..13e40f04e 100644 --- a/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionTorrentStatus.cs +++ b/src/NzbDrone.Core/Download/Clients/Transmission/TransmissionTorrentStatus.cs @@ -1,6 +1,4 @@ -using System; - -namespace NzbDrone.Core.Download.Clients.Transmission +namespace NzbDrone.Core.Download.Clients.Transmission { public enum TransmissionTorrentStatus { diff --git a/src/NzbDrone.Core/Download/Clients/UsenetBlackhole/UsenetBlackhole.cs b/src/NzbDrone.Core/Download/Clients/UsenetBlackhole/UsenetBlackhole.cs index c0804b1f8..032bfc2ea 100644 --- a/src/NzbDrone.Core/Download/Clients/UsenetBlackhole/UsenetBlackhole.cs +++ b/src/NzbDrone.Core/Download/Clients/UsenetBlackhole/UsenetBlackhole.cs @@ -2,7 +2,6 @@ using System.IO; using System.Linq; using System.Collections.Generic; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; @@ -12,7 +11,6 @@ using NzbDrone.Core.Organizer; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.MediaFiles; using NLog; -using Omu.ValueInjecter; using FluentValidation.Results; using NzbDrone.Core.RemotePathMappings; diff --git a/src/NzbDrone.Core/Download/Clients/uTorrent/UTorrent.cs b/src/NzbDrone.Core/Download/Clients/uTorrent/UTorrent.cs index 764078178..b3a0472d9 100644 --- a/src/NzbDrone.Core/Download/Clients/uTorrent/UTorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/uTorrent/UTorrent.cs @@ -1,8 +1,6 @@ using System; -using System.IO; using System.Linq; using System.Collections.Generic; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; @@ -15,7 +13,6 @@ using FluentValidation.Results; using System.Net; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.RemotePathMappings; -using NzbDrone.Common.EnvironmentInfo; namespace NzbDrone.Core.Download.Clients.UTorrent { diff --git a/src/NzbDrone.Core/Download/Clients/uTorrent/UTorrentProxy.cs b/src/NzbDrone.Core/Download/Clients/uTorrent/UTorrentProxy.cs index f3558ce66..7d1ac2f56 100644 --- a/src/NzbDrone.Core/Download/Clients/uTorrent/UTorrentProxy.cs +++ b/src/NzbDrone.Core/Download/Clients/uTorrent/UTorrentProxy.cs @@ -3,9 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Net; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; -using NzbDrone.Common.Serializer; using NzbDrone.Core.Rest; using RestSharp; diff --git a/src/NzbDrone.Core/Download/CompletedDownloadService.cs b/src/NzbDrone.Core/Download/CompletedDownloadService.cs index ae88b8b91..33a279d38 100644 --- a/src/NzbDrone.Core/Download/CompletedDownloadService.cs +++ b/src/NzbDrone.Core/Download/CompletedDownloadService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/Download/DownloadClientItem.cs b/src/NzbDrone.Core/Download/DownloadClientItem.cs index 11c360994..3476bb33f 100644 --- a/src/NzbDrone.Core/Download/DownloadClientItem.cs +++ b/src/NzbDrone.Core/Download/DownloadClientItem.cs @@ -1,6 +1,5 @@ using System; using NzbDrone.Common.Disk; -using NzbDrone.Core.Parser.Model; namespace NzbDrone.Core.Download { diff --git a/src/NzbDrone.Core/Download/DownloadClientProvider.cs b/src/NzbDrone.Core/Download/DownloadClientProvider.cs index d0da96f6d..f8c931b3e 100644 --- a/src/NzbDrone.Core/Download/DownloadClientProvider.cs +++ b/src/NzbDrone.Core/Download/DownloadClientProvider.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq; +using System.Linq; using System.Collections.Generic; using NzbDrone.Core.Indexers; diff --git a/src/NzbDrone.Core/Download/DownloadClientStatus.cs b/src/NzbDrone.Core/Download/DownloadClientStatus.cs index 6bb47c3a2..ed1e0b970 100644 --- a/src/NzbDrone.Core/Download/DownloadClientStatus.cs +++ b/src/NzbDrone.Core/Download/DownloadClientStatus.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using NzbDrone.Common.Disk; namespace NzbDrone.Core.Download diff --git a/src/NzbDrone.Core/Download/DownloadTrackingService.cs b/src/NzbDrone.Core/Download/DownloadTrackingService.cs index 6d206392c..14aaef7ff 100644 --- a/src/NzbDrone.Core/Download/DownloadTrackingService.cs +++ b/src/NzbDrone.Core/Download/DownloadTrackingService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Cache; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/Download/FailedDownloadService.cs b/src/NzbDrone.Core/Download/FailedDownloadService.cs index 20bb17748..e00507741 100644 --- a/src/NzbDrone.Core/Download/FailedDownloadService.cs +++ b/src/NzbDrone.Core/Download/FailedDownloadService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; using NzbDrone.Core.History; diff --git a/src/NzbDrone.Core/Download/Pending/PendingReleaseService.cs b/src/NzbDrone.Core/Download/Pending/PendingReleaseService.cs index d58c506fb..ba0c6a7b6 100644 --- a/src/NzbDrone.Core/Download/Pending/PendingReleaseService.cs +++ b/src/NzbDrone.Core/Download/Pending/PendingReleaseService.cs @@ -2,10 +2,8 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.DecisionEngine; -using NzbDrone.Core.Indexers; using NzbDrone.Core.Messaging.Events; using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core/Download/ProcessDownloadDecisions.cs b/src/NzbDrone.Core/Download/ProcessDownloadDecisions.cs index e1250e798..8482648c3 100644 --- a/src/NzbDrone.Core/Download/ProcessDownloadDecisions.cs +++ b/src/NzbDrone.Core/Download/ProcessDownloadDecisions.cs @@ -4,7 +4,6 @@ using System.Linq; using NLog; using NzbDrone.Core.DecisionEngine; using NzbDrone.Core.Download.Pending; -using NzbDrone.Core.Parser.Model; namespace NzbDrone.Core.Download { diff --git a/src/NzbDrone.Core/Download/TorrentClientBase.cs b/src/NzbDrone.Core/Download/TorrentClientBase.cs index 4b4e30b61..c348a8a7b 100644 --- a/src/NzbDrone.Core/Download/TorrentClientBase.cs +++ b/src/NzbDrone.Core/Download/TorrentClientBase.cs @@ -1,10 +1,6 @@ using System; -using System.IO; -using System.Linq; -using System.Collections.Generic; using System.Net; using MonoTorrent; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; diff --git a/src/NzbDrone.Core/Download/UsenetClientBase.cs b/src/NzbDrone.Core/Download/UsenetClientBase.cs index b80c43259..f5011911a 100644 --- a/src/NzbDrone.Core/Download/UsenetClientBase.cs +++ b/src/NzbDrone.Core/Download/UsenetClientBase.cs @@ -1,11 +1,6 @@ using System; -using System.IO; -using System.Linq; -using System.Collections.Generic; using System.Net; -using NzbDrone.Common; using NzbDrone.Common.Disk; -using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.Exceptions; using NzbDrone.Core.Indexers; diff --git a/src/NzbDrone.Core/HealthCheck/Checks/AppDataLocationCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/AppDataLocationCheck.cs index e7669ba0b..88b7e94b3 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/AppDataLocationCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/AppDataLocationCheck.cs @@ -1,5 +1,4 @@ -using NzbDrone.Common; -using NzbDrone.Common.EnvironmentInfo; +using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; namespace NzbDrone.Core.HealthCheck.Checks diff --git a/src/NzbDrone.Core/HealthCheck/Checks/DroneFactoryCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/DroneFactoryCheck.cs index 0a1dc097c..4ba86b8e0 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/DroneFactoryCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/DroneFactoryCheck.cs @@ -1,6 +1,5 @@ using System; using System.IO; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/HealthCheck/Checks/ImportMechanismCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/ImportMechanismCheck.cs index eb21be154..8a58585ed 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/ImportMechanismCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/ImportMechanismCheck.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using System.Linq; -using NzbDrone.Common; +using System.Linq; using NzbDrone.Common.Disk; using NzbDrone.Core.Configuration; using NzbDrone.Core.Download; diff --git a/src/NzbDrone.Core/HealthCheck/Checks/IndexerCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/IndexerCheck.cs index bfcf05fe5..88347b690 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/IndexerCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/IndexerCheck.cs @@ -1,5 +1,4 @@ using System.Linq; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Indexers; diff --git a/src/NzbDrone.Core/HealthCheck/HealthCheckBase.cs b/src/NzbDrone.Core/HealthCheck/HealthCheckBase.cs index a36303420..156a925a2 100644 --- a/src/NzbDrone.Core/HealthCheck/HealthCheckBase.cs +++ b/src/NzbDrone.Core/HealthCheck/HealthCheckBase.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace NzbDrone.Core.HealthCheck +namespace NzbDrone.Core.HealthCheck { public abstract class HealthCheckBase : IProvideHealthCheck { diff --git a/src/NzbDrone.Core/HealthCheck/HealthCheckService.cs b/src/NzbDrone.Core/HealthCheck/HealthCheckService.cs index 5658aa682..14369951f 100644 --- a/src/NzbDrone.Core/HealthCheck/HealthCheckService.cs +++ b/src/NzbDrone.Core/HealthCheck/HealthCheckService.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Linq.Expressions; using NLog; using NzbDrone.Common.Cache; using NzbDrone.Core.Configuration.Events; diff --git a/src/NzbDrone.Core/History/HistoryService.cs b/src/NzbDrone.Core/History/HistoryService.cs index e665c98b8..0d8493ff3 100644 --- a/src/NzbDrone.Core/History/HistoryService.cs +++ b/src/NzbDrone.Core/History/HistoryService.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Datastore; using NzbDrone.Core.Download; @@ -12,7 +11,6 @@ using NzbDrone.Core.MediaFiles.Events; using NzbDrone.Core.Messaging.Events; using NzbDrone.Core.Profiles; using NzbDrone.Core.Qualities; -using NzbDrone.Core.Tv; namespace NzbDrone.Core.History { diff --git a/src/NzbDrone.Core/Housekeeping/Housekeepers/FixFutureRunScheduledTasks.cs b/src/NzbDrone.Core/Housekeeping/Housekeepers/FixFutureRunScheduledTasks.cs index 40c99aabd..41d47498e 100644 --- a/src/NzbDrone.Core/Housekeeping/Housekeepers/FixFutureRunScheduledTasks.cs +++ b/src/NzbDrone.Core/Housekeeping/Housekeepers/FixFutureRunScheduledTasks.cs @@ -2,7 +2,6 @@ using NLog; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Core.Datastore; -using NzbDrone.Core.Jobs; namespace NzbDrone.Core.Housekeeping.Housekeepers { diff --git a/src/NzbDrone.Core/Housekeeping/Housekeepers/UpdateAnimeCategories.cs b/src/NzbDrone.Core/Housekeeping/Housekeepers/UpdateAnimeCategories.cs index a7e8d6edf..33f4a772a 100644 --- a/src/NzbDrone.Core/Housekeeping/Housekeepers/UpdateAnimeCategories.cs +++ b/src/NzbDrone.Core/Housekeeping/Housekeepers/UpdateAnimeCategories.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers.Newznab; diff --git a/src/NzbDrone.Core/IndexerSearch/Definitions/AnimeEpisodeSearchCriteria.cs b/src/NzbDrone.Core/IndexerSearch/Definitions/AnimeEpisodeSearchCriteria.cs index 089740d6f..a7cd8b9d2 100644 --- a/src/NzbDrone.Core/IndexerSearch/Definitions/AnimeEpisodeSearchCriteria.cs +++ b/src/NzbDrone.Core/IndexerSearch/Definitions/AnimeEpisodeSearchCriteria.cs @@ -1,6 +1,4 @@ -using System; - -namespace NzbDrone.Core.IndexerSearch.Definitions +namespace NzbDrone.Core.IndexerSearch.Definitions { public class AnimeEpisodeSearchCriteria : SearchCriteriaBase { diff --git a/src/NzbDrone.Core/IndexerSearch/Definitions/SpecialEpisodeSearchCriteria.cs b/src/NzbDrone.Core/IndexerSearch/Definitions/SpecialEpisodeSearchCriteria.cs index 85f543ab7..785cae196 100644 --- a/src/NzbDrone.Core/IndexerSearch/Definitions/SpecialEpisodeSearchCriteria.cs +++ b/src/NzbDrone.Core/IndexerSearch/Definitions/SpecialEpisodeSearchCriteria.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.IndexerSearch.Definitions { diff --git a/src/NzbDrone.Core/Indexers/Animezb/Animezb.cs b/src/NzbDrone.Core/Indexers/Animezb/Animezb.cs index a47c6ce83..639d53e59 100644 --- a/src/NzbDrone.Core/Indexers/Animezb/Animezb.cs +++ b/src/NzbDrone.Core/Indexers/Animezb/Animezb.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text.RegularExpressions; -using FluentValidation.Results; -using NLog; +using NLog; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core/Indexers/Animezb/AnimezbRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Animezb/AnimezbRequestGenerator.cs index 448ba7620..2fac28d07 100644 --- a/src/NzbDrone.Core/Indexers/Animezb/AnimezbRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Animezb/AnimezbRequestGenerator.cs @@ -1,9 +1,7 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Text; using System.Text.RegularExpressions; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTv.cs b/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTv.cs index 0fd5ad2f3..c87b6895b 100644 --- a/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTv.cs +++ b/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTv.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using NzbDrone.Core.ThingiProvider; -using FluentValidation.Results; -using System.Linq; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NLog; diff --git a/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvRequestGenerator.cs b/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvRequestGenerator.cs index d3c26e6e8..fee49be5d 100644 --- a/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvRequestGenerator.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvSettings.cs b/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvSettings.cs index 4accd7c1a..05dafdf1c 100644 --- a/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvSettings.cs +++ b/src/NzbDrone.Core/Indexers/BitMeTv/BitMeTvSettings.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using FluentValidation; using FluentValidation.Results; using NzbDrone.Core.Annotations; diff --git a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNet.cs b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNet.cs index f5c5e6073..eedc9b298 100644 --- a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNet.cs +++ b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNet.cs @@ -1,15 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using FluentValidation.Results; -using NLog; +using NLog; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; -using NzbDrone.Core.IndexerSearch.Definitions; using NzbDrone.Core.Parser; -using NzbDrone.Core.Parser.Model; -using NzbDrone.Core.ThingiProvider; namespace NzbDrone.Core.Indexers.BroadcastheNet { diff --git a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetParser.cs b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetParser.cs index a3a2439d9..5d2079d5e 100644 --- a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetParser.cs +++ b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetParser.cs @@ -1,10 +1,7 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Net; -using System.Text; using NzbDrone.Common.Http; -using NzbDrone.Common.Serializer; using NzbDrone.Core.Indexers.Exceptions; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetRequestGenerator.cs b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetRequestGenerator.cs index bef186f72..e3ad4135f 100644 --- a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetRequestGenerator.cs @@ -1,9 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Text.RegularExpressions; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetSettings.cs b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetSettings.cs index f321f5c3a..3937055c0 100644 --- a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetSettings.cs +++ b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetSettings.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using FluentValidation; using FluentValidation.Results; using NzbDrone.Core.Annotations; diff --git a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrent.cs b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrent.cs index 89e9f7784..9444878f8 100644 --- a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrent.cs +++ b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrent.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Indexers.BroadcastheNet { diff --git a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrentQuery.cs b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrentQuery.cs index 0baf40022..9750b8a52 100644 --- a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrentQuery.cs +++ b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrentQuery.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using Newtonsoft.Json; namespace NzbDrone.Core.Indexers.BroadcastheNet diff --git a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrents.cs b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrents.cs index 98bc2c2d7..186a902b7 100644 --- a/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrents.cs +++ b/src/NzbDrone.Core/Indexers/BroadcastheNet/BroadcastheNetTorrents.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.Indexers.BroadcastheNet { diff --git a/src/NzbDrone.Core/Indexers/DownloadProtocol.cs b/src/NzbDrone.Core/Indexers/DownloadProtocol.cs index 0bdde311e..470603d2e 100644 --- a/src/NzbDrone.Core/Indexers/DownloadProtocol.cs +++ b/src/NzbDrone.Core/Indexers/DownloadProtocol.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace NzbDrone.Core.Indexers +namespace NzbDrone.Core.Indexers { public enum DownloadProtocol { diff --git a/src/NzbDrone.Core/Indexers/Eztv/Eztv.cs b/src/NzbDrone.Core/Indexers/Eztv/Eztv.cs index 9fb14b0fe..f919a7dc0 100644 --- a/src/NzbDrone.Core/Indexers/Eztv/Eztv.cs +++ b/src/NzbDrone.Core/Indexers/Eztv/Eztv.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using NzbDrone.Core.ThingiProvider; -using FluentValidation.Results; -using System.Linq; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core/Indexers/Eztv/EztvRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Eztv/EztvRequestGenerator.cs index 5f4f8e229..a25eeeeaa 100644 --- a/src/NzbDrone.Core/Indexers/Eztv/EztvRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Eztv/EztvRequestGenerator.cs @@ -1,8 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs b/src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs index a6c0da30f..a0769d65f 100644 --- a/src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs +++ b/src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using FluentValidation; using FluentValidation.Results; using NzbDrone.Core.Annotations; diff --git a/src/NzbDrone.Core/Indexers/Fanzub/Fanzub.cs b/src/NzbDrone.Core/Indexers/Fanzub/Fanzub.cs index bee4f9122..62adc4a0b 100644 --- a/src/NzbDrone.Core/Indexers/Fanzub/Fanzub.cs +++ b/src/NzbDrone.Core/Indexers/Fanzub/Fanzub.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text.RegularExpressions; -using FluentValidation.Results; -using NLog; +using NLog; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core/Indexers/Fanzub/FanzubRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Fanzub/FanzubRequestGenerator.cs index 76f40c3fb..5490baa20 100644 --- a/src/NzbDrone.Core/Indexers/Fanzub/FanzubRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Fanzub/FanzubRequestGenerator.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs b/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs index 38e08ab79..3f6adee65 100644 --- a/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs +++ b/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Net; using FluentValidation.Results; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs b/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs index 274329d6c..2abb711b9 100644 --- a/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs +++ b/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrents.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using NzbDrone.Core.ThingiProvider; -using FluentValidation.Results; -using System.Linq; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrentsRequestGenerator.cs b/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrentsRequestGenerator.cs index ba988f5d7..d69adc270 100644 --- a/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrentsRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrentsRequestGenerator.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using NzbDrone.Common; +using System.Collections.Generic; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrentsSettings.cs b/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrentsSettings.cs index b694d1b6c..ca19effc0 100644 --- a/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrentsSettings.cs +++ b/src/NzbDrone.Core/Indexers/IPTorrents/IPTorrentsSettings.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using FluentValidation; using FluentValidation.Results; using NzbDrone.Core.Annotations; diff --git a/src/NzbDrone.Core/Indexers/IProcessIndexerResponse.cs b/src/NzbDrone.Core/Indexers/IProcessIndexerResponse.cs index f687f6383..56a8bed4e 100644 --- a/src/NzbDrone.Core/Indexers/IProcessIndexerResponse.cs +++ b/src/NzbDrone.Core/Indexers/IProcessIndexerResponse.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; using NzbDrone.Core.Parser.Model; namespace NzbDrone.Core.Indexers diff --git a/src/NzbDrone.Core/Indexers/IndexerBase.cs b/src/NzbDrone.Core/Indexers/IndexerBase.cs index f2e151cd7..7de3d24ac 100644 --- a/src/NzbDrone.Core/Indexers/IndexerBase.cs +++ b/src/NzbDrone.Core/Indexers/IndexerBase.cs @@ -1,10 +1,8 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using FluentValidation.Results; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsRequestGenerator.cs b/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsRequestGenerator.cs index b4cc63963..91b513273 100644 --- a/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsRequestGenerator.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsRssParser.cs b/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsRssParser.cs index 6a314e844..4b1529c21 100644 --- a/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsRssParser.cs +++ b/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsRssParser.cs @@ -1,4 +1,3 @@ -using System; using System.Linq; using System.Xml.Linq; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsSettings.cs b/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsSettings.cs index a50a88636..cf01a1418 100644 --- a/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsSettings.cs +++ b/src/NzbDrone.Core/Indexers/KickassTorrents/KickassTorrentsSettings.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using FluentValidation; using FluentValidation.Results; using NzbDrone.Core.Annotations; diff --git a/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs index c5c16536e..2c28f5a89 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs @@ -1,8 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/Newznab/NewznabRssParser.cs b/src/NzbDrone.Core/Indexers/Newznab/NewznabRssParser.cs index adcf21927..2152ca9dd 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/NewznabRssParser.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/NewznabRssParser.cs @@ -1,7 +1,6 @@ using System; using System.Linq; using System.Xml.Linq; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Indexers.Exceptions; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs b/src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs index 61db0582e..62f18795b 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Text.RegularExpressions; using FluentValidation; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Annotations; using NzbDrone.Core.ThingiProvider; diff --git a/src/NzbDrone.Core/Indexers/Nyaa/Nyaa.cs b/src/NzbDrone.Core/Indexers/Nyaa/Nyaa.cs index 0f86fb77e..6a20ff856 100644 --- a/src/NzbDrone.Core/Indexers/Nyaa/Nyaa.cs +++ b/src/NzbDrone.Core/Indexers/Nyaa/Nyaa.cs @@ -1,6 +1,4 @@ using System; -using System.Linq; -using System.Collections.Generic; using NLog; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/Indexers/Nyaa/NyaaRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Nyaa/NyaaRequestGenerator.cs index 75062f1ed..9ec827c23 100644 --- a/src/NzbDrone.Core/Indexers/Nyaa/NyaaRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Nyaa/NyaaRequestGenerator.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs b/src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs index 10724cb53..ddd80f27a 100644 --- a/src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs +++ b/src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using FluentValidation; using FluentValidation.Results; using NzbDrone.Core.Annotations; diff --git a/src/NzbDrone.Core/Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs index 874ec655c..7a6d0b932 100644 --- a/src/NzbDrone.Core/Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Omgwtfnzbs/OmgwtfnzbsRequestGenerator.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Text; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/RssIndexerRequestGenerator.cs b/src/NzbDrone.Core/Indexers/RssIndexerRequestGenerator.cs index ea540ebc0..98b8a313b 100644 --- a/src/NzbDrone.Core/Indexers/RssIndexerRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/RssIndexerRequestGenerator.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs b/src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs index 894395c29..b1aff3611 100644 --- a/src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs +++ b/src/NzbDrone.Core/Indexers/Torrentleech/Torrentleech.cs @@ -1,7 +1,4 @@ -using FluentValidation.Results; -using System; -using System.Collections.Generic; -using System.Linq; +using System; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core/Indexers/Torrentleech/TorrentleechRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Torrentleech/TorrentleechRequestGenerator.cs index cd5f9cded..4b4605b77 100644 --- a/src/NzbDrone.Core/Indexers/Torrentleech/TorrentleechRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Torrentleech/TorrentleechRequestGenerator.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Indexers/Torrentleech/TorrentleechSettings.cs b/src/NzbDrone.Core/Indexers/Torrentleech/TorrentleechSettings.cs index 242ad9335..0ce40ecf6 100644 --- a/src/NzbDrone.Core/Indexers/Torrentleech/TorrentleechSettings.cs +++ b/src/NzbDrone.Core/Indexers/Torrentleech/TorrentleechSettings.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using FluentValidation; using FluentValidation.Results; using NzbDrone.Core.Annotations; diff --git a/src/NzbDrone.Core/Indexers/Wombles/Wombles.cs b/src/NzbDrone.Core/Indexers/Wombles/Wombles.cs index f688bcae2..201ce89f2 100644 --- a/src/NzbDrone.Core/Indexers/Wombles/Wombles.cs +++ b/src/NzbDrone.Core/Indexers/Wombles/Wombles.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using FluentValidation.Results; -using NLog; +using NLog; using NzbDrone.Common.Http; using NzbDrone.Core.Configuration; using NzbDrone.Core.Parser; diff --git a/src/NzbDrone.Core/Indexers/XElementExtensions.cs b/src/NzbDrone.Core/Indexers/XElementExtensions.cs index 9d27cc1ca..9fcb2774a 100644 --- a/src/NzbDrone.Core/Indexers/XElementExtensions.cs +++ b/src/NzbDrone.Core/Indexers/XElementExtensions.cs @@ -5,7 +5,6 @@ using System.Linq; using System.Text.RegularExpressions; using System.Xml.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Instrumentation; diff --git a/src/NzbDrone.Core/Instrumentation/DeleteLogFilesService.cs b/src/NzbDrone.Core/Instrumentation/DeleteLogFilesService.cs index 611decaae..77cb9053a 100644 --- a/src/NzbDrone.Core/Instrumentation/DeleteLogFilesService.cs +++ b/src/NzbDrone.Core/Instrumentation/DeleteLogFilesService.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using NLog; -using NzbDrone.Common; +using NLog; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/Lifecycle/LifecycleService.cs b/src/NzbDrone.Core/Lifecycle/LifecycleService.cs index 9fb5c4b32..a5c0c2a94 100644 --- a/src/NzbDrone.Core/Lifecycle/LifecycleService.cs +++ b/src/NzbDrone.Core/Lifecycle/LifecycleService.cs @@ -1,8 +1,6 @@ -using System; -using NLog; +using NLog; using NzbDrone.Common; using NzbDrone.Common.EnvironmentInfo; -using NzbDrone.Common.Processes; using NzbDrone.Core.Lifecycle.Commands; using NzbDrone.Core.Messaging.Commands; using NzbDrone.Core.Messaging.Events; diff --git a/src/NzbDrone.Core/MediaCover/MediaCoverService.cs b/src/NzbDrone.Core/MediaCover/MediaCoverService.cs index 6f0b9100c..45bc5945f 100644 --- a/src/NzbDrone.Core/MediaCover/MediaCoverService.cs +++ b/src/NzbDrone.Core/MediaCover/MediaCoverService.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using System.Net; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/MediaFiles/DownloadedEpisodesCommandService.cs b/src/NzbDrone.Core/MediaFiles/DownloadedEpisodesCommandService.cs index 6382c8e0d..71901ffaa 100644 --- a/src/NzbDrone.Core/MediaFiles/DownloadedEpisodesCommandService.cs +++ b/src/NzbDrone.Core/MediaFiles/DownloadedEpisodesCommandService.cs @@ -2,9 +2,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.Text; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/MediaFiles/DownloadedEpisodesImportService.cs b/src/NzbDrone.Core/MediaFiles/DownloadedEpisodesImportService.cs index 954d0bee1..fa6509d3c 100644 --- a/src/NzbDrone.Core/MediaFiles/DownloadedEpisodesImportService.cs +++ b/src/NzbDrone.Core/MediaFiles/DownloadedEpisodesImportService.cs @@ -3,13 +3,9 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; -using NzbDrone.Common.EnsureThat; using NzbDrone.Core.Configuration; -using NzbDrone.Core.MediaFiles.Commands; using NzbDrone.Core.MediaFiles.EpisodeImport; -using NzbDrone.Core.Messaging.Commands; using NzbDrone.Core.Parser; using NzbDrone.Core.Tv; using NzbDrone.Core.Download; diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs b/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs index 5d88ae250..9fff84570 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeFileMovingService.cs @@ -3,10 +3,8 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnsureThat; -using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; using NzbDrone.Core.Organizer; diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs index 1b69ae5a4..2d68516a8 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.MediaFiles.Events; diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportResult.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportResult.cs index 9350e5155..e658ca709 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportResult.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportResult.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using NzbDrone.Common; using NzbDrone.Common.EnsureThat; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/FullSeasonSpecification.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/FullSeasonSpecification.cs index c6a5e9f5e..1c3c8bf79 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/FullSeasonSpecification.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/FullSeasonSpecification.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; -using NLog; -using NzbDrone.Common; +using NLog; using NzbDrone.Core.Parser.Model; namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/NotUnpackingSpecification.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/NotUnpackingSpecification.cs index 502250a69..b55afa761 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/NotUnpackingSpecification.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/NotUnpackingSpecification.cs @@ -1,7 +1,6 @@ using System; using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/MediaFiles/MediaFileService.cs b/src/NzbDrone.Core/MediaFiles/MediaFileService.cs index 76b623004..ca3f68ce2 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaFileService.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaFileService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Core.Datastore; using NzbDrone.Core.MediaFiles.Events; using NzbDrone.Core.Messaging.Events; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/MediaFiles/MediaFileTableCleanupService.cs b/src/NzbDrone.Core/MediaFiles/MediaFileTableCleanupService.cs index 45f31515e..cd47a78fd 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaFileTableCleanupService.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaFileTableCleanupService.cs @@ -2,7 +2,6 @@ using System; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.MediaFiles.Commands; using NzbDrone.Core.Messaging.Commands; diff --git a/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs b/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs index 72e7012a1..aba34f9c6 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs @@ -2,7 +2,6 @@ using System.IO; using MediaInfoLib; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using System.Globalization; diff --git a/src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs b/src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs index 9fa927736..553111b0b 100644 --- a/src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs +++ b/src/NzbDrone.Core/MediaFiles/RecycleBinProvider.cs @@ -1,7 +1,6 @@ using System; using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/MediaFiles/RenameEpisodeFilePreview.cs b/src/NzbDrone.Core/MediaFiles/RenameEpisodeFilePreview.cs index a3c68fd5b..fe546f4b5 100644 --- a/src/NzbDrone.Core/MediaFiles/RenameEpisodeFilePreview.cs +++ b/src/NzbDrone.Core/MediaFiles/RenameEpisodeFilePreview.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; namespace NzbDrone.Core.MediaFiles { diff --git a/src/NzbDrone.Core/MediaFiles/RenameEpisodeFileService.cs b/src/NzbDrone.Core/MediaFiles/RenameEpisodeFileService.cs index 92650b873..1e84550df 100644 --- a/src/NzbDrone.Core/MediaFiles/RenameEpisodeFileService.cs +++ b/src/NzbDrone.Core/MediaFiles/RenameEpisodeFileService.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Instrumentation.Extensions; using NzbDrone.Core.MediaFiles.Commands; diff --git a/src/NzbDrone.Core/MediaFiles/UpdateEpisodeFileService.cs b/src/NzbDrone.Core/MediaFiles/UpdateEpisodeFileService.cs index b1f6dc8fa..65bfc3a56 100644 --- a/src/NzbDrone.Core/MediaFiles/UpdateEpisodeFileService.cs +++ b/src/NzbDrone.Core/MediaFiles/UpdateEpisodeFileService.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Exceptron; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/MediaFiles/UpgradeMediaFileService.cs b/src/NzbDrone.Core/MediaFiles/UpgradeMediaFileService.cs index 256e0e04b..95f245e3e 100644 --- a/src/NzbDrone.Core/MediaFiles/UpgradeMediaFileService.cs +++ b/src/NzbDrone.Core/MediaFiles/UpgradeMediaFileService.cs @@ -1,7 +1,6 @@ using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core/MetaData/Consumers/MediaBrowser/MediaBrowserMetadata.cs b/src/NzbDrone.Core/MetaData/Consumers/MediaBrowser/MediaBrowserMetadata.cs index c22212b4f..1c3d60f81 100644 --- a/src/NzbDrone.Core/MetaData/Consumers/MediaBrowser/MediaBrowserMetadata.cs +++ b/src/NzbDrone.Core/MetaData/Consumers/MediaBrowser/MediaBrowserMetadata.cs @@ -6,7 +6,6 @@ using System.Text; using System.Xml; using System.Xml.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.MediaCover; diff --git a/src/NzbDrone.Core/MetaData/Consumers/Roksbox/RoksboxMetadata.cs b/src/NzbDrone.Core/MetaData/Consumers/Roksbox/RoksboxMetadata.cs index c448fe58a..055902751 100644 --- a/src/NzbDrone.Core/MetaData/Consumers/Roksbox/RoksboxMetadata.cs +++ b/src/NzbDrone.Core/MetaData/Consumers/Roksbox/RoksboxMetadata.cs @@ -7,7 +7,6 @@ using System.Text.RegularExpressions; using System.Xml; using System.Xml.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.MediaCover; diff --git a/src/NzbDrone.Core/MetaData/Consumers/Wdtv/WdtvMetadata.cs b/src/NzbDrone.Core/MetaData/Consumers/Wdtv/WdtvMetadata.cs index 9c11d4b1e..8dab10e29 100644 --- a/src/NzbDrone.Core/MetaData/Consumers/Wdtv/WdtvMetadata.cs +++ b/src/NzbDrone.Core/MetaData/Consumers/Wdtv/WdtvMetadata.cs @@ -7,7 +7,6 @@ using System.Text.RegularExpressions; using System.Xml; using System.Xml.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.MediaCover; diff --git a/src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs b/src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs index ab6e9edac..eaddbcd46 100644 --- a/src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs +++ b/src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs @@ -7,7 +7,6 @@ using System.Text.RegularExpressions; using System.Xml; using System.Xml.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.MediaCover; diff --git a/src/NzbDrone.Core/MetaData/Files/CleanMetadataService.cs b/src/NzbDrone.Core/MetaData/Files/CleanMetadataService.cs index 01944f441..566d5a293 100644 --- a/src/NzbDrone.Core/MetaData/Files/CleanMetadataService.cs +++ b/src/NzbDrone.Core/MetaData/Files/CleanMetadataService.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using System.IO; +using System.IO; using NLog; using NzbDrone.Common.Disk; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/MetaData/MetadataService.cs b/src/NzbDrone.Core/MetaData/MetadataService.cs index 800d24009..ed8c784a1 100644 --- a/src/NzbDrone.Core/MetaData/MetadataService.cs +++ b/src/NzbDrone.Core/MetaData/MetadataService.cs @@ -4,7 +4,6 @@ using System.IO; using System.Linq; using System.Net; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; diff --git a/src/NzbDrone.Core/MetaData/MetadataType.cs b/src/NzbDrone.Core/MetaData/MetadataType.cs index 5dbfa0b24..07a054c39 100644 --- a/src/NzbDrone.Core/MetaData/MetadataType.cs +++ b/src/NzbDrone.Core/MetaData/MetadataType.cs @@ -1,6 +1,4 @@ -using System; - -namespace NzbDrone.Core.Metadata +namespace NzbDrone.Core.Metadata { public enum MetadataType { diff --git a/src/NzbDrone.Core/Metadata/ExistingMetadataService.cs b/src/NzbDrone.Core/Metadata/ExistingMetadataService.cs index 3b53f89d4..177f1da91 100644 --- a/src/NzbDrone.Core/Metadata/ExistingMetadataService.cs +++ b/src/NzbDrone.Core/Metadata/ExistingMetadataService.cs @@ -2,7 +2,6 @@ using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Core.MediaFiles; diff --git a/src/NzbDrone.Core/Metadata/Files/MetadataFileRepository.cs b/src/NzbDrone.Core/Metadata/Files/MetadataFileRepository.cs index 64f7b871e..e8d279a4f 100644 --- a/src/NzbDrone.Core/Metadata/Files/MetadataFileRepository.cs +++ b/src/NzbDrone.Core/Metadata/Files/MetadataFileRepository.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using NzbDrone.Core.Datastore; using NzbDrone.Core.Messaging.Events; diff --git a/src/NzbDrone.Core/Metadata/MetadataBase.cs b/src/NzbDrone.Core/Metadata/MetadataBase.cs index bb5d4d23a..e6b8c5a29 100644 --- a/src/NzbDrone.Core/Metadata/MetadataBase.cs +++ b/src/NzbDrone.Core/Metadata/MetadataBase.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using FluentValidation.Results; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Metadata.Files; diff --git a/src/NzbDrone.Core/MetadataSource/Trakt/Actor.cs b/src/NzbDrone.Core/MetadataSource/Trakt/Actor.cs index cc16310e2..6a775136f 100644 --- a/src/NzbDrone.Core/MetadataSource/Trakt/Actor.cs +++ b/src/NzbDrone.Core/MetadataSource/Trakt/Actor.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace NzbDrone.Core.MetadataSource.Trakt +namespace NzbDrone.Core.MetadataSource.Trakt { public class Actor { diff --git a/src/NzbDrone.Core/MetadataSource/TraktSearchSeriesComparer.cs b/src/NzbDrone.Core/MetadataSource/TraktSearchSeriesComparer.cs index 91841fa1e..94b0135ba 100644 --- a/src/NzbDrone.Core/MetadataSource/TraktSearchSeriesComparer.cs +++ b/src/NzbDrone.Core/MetadataSource/TraktSearchSeriesComparer.cs @@ -1,9 +1,6 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Text.RegularExpressions; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/MetadataSource/Tvdb/TvdbProxy.cs b/src/NzbDrone.Core/MetadataSource/Tvdb/TvdbProxy.cs index 0fa4f912c..631845420 100644 --- a/src/NzbDrone.Core/MetadataSource/Tvdb/TvdbProxy.cs +++ b/src/NzbDrone.Core/MetadataSource/Tvdb/TvdbProxy.cs @@ -2,10 +2,7 @@ using System.IO; using System.Linq; using System.Xml.Linq; -using NzbDrone.Common; -using NzbDrone.Common.Extensions; using NzbDrone.Common.Http; -using NzbDrone.Core.Indexers; using NzbDrone.Core.Tv; namespace NzbDrone.Core.MetadataSource.Tvdb diff --git a/src/NzbDrone.Core/Notifications/Email/Email.cs b/src/NzbDrone.Core/Notifications/Email/Email.cs index 702963cc1..eeca1885e 100644 --- a/src/NzbDrone.Core/Notifications/Email/Email.cs +++ b/src/NzbDrone.Core/Notifications/Email/Email.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Growl/Growl.cs b/src/NzbDrone.Core/Notifications/Growl/Growl.cs index 6778c8d4d..ab745b7df 100644 --- a/src/NzbDrone.Core/Notifications/Growl/Growl.cs +++ b/src/NzbDrone.Core/Notifications/Growl/Growl.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs b/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs index 5aff8bf71..3839e1592 100644 --- a/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs +++ b/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs @@ -4,10 +4,8 @@ using Growl.CoreLibrary; using NzbDrone.Common.Extensions; using GrowlNotification = Growl.Connector.Notification; using NLog; -using NzbDrone.Common; using System; using System.Collections.Generic; -using System.IO; using System.Linq; using System.Threading; diff --git a/src/NzbDrone.Core/Notifications/NotificationBase.cs b/src/NzbDrone.Core/Notifications/NotificationBase.cs index 70d5e7b85..e6a1f73b5 100644 --- a/src/NzbDrone.Core/Notifications/NotificationBase.cs +++ b/src/NzbDrone.Core/Notifications/NotificationBase.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using FluentValidation.Results; using NzbDrone.Core.ThingiProvider; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/NotificationService.cs b/src/NzbDrone.Core/Notifications/NotificationService.cs index e4d266615..7276895ea 100644 --- a/src/NzbDrone.Core/Notifications/NotificationService.cs +++ b/src/NzbDrone.Core/Notifications/NotificationService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Download; using NzbDrone.Core.MediaFiles.Events; diff --git a/src/NzbDrone.Core/Notifications/NotifyMyAndroid/NotifyMyAndroid.cs b/src/NzbDrone.Core/Notifications/NotifyMyAndroid/NotifyMyAndroid.cs index d1a7b4d59..c27fe52b4 100644 --- a/src/NzbDrone.Core/Notifications/NotifyMyAndroid/NotifyMyAndroid.cs +++ b/src/NzbDrone.Core/Notifications/NotifyMyAndroid/NotifyMyAndroid.cs @@ -1,8 +1,6 @@  using System.Collections.Generic; using FluentValidation.Results; -using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexClient.cs b/src/NzbDrone.Core/Notifications/Plex/PlexClient.cs index a566bede5..5255365a4 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexClient.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexClient.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexException.cs b/src/NzbDrone.Core/Notifications/Plex/PlexException.cs index 5447c563b..2123235cd 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexException.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexException.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.Notifications.Plex { diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexServer.cs b/src/NzbDrone.Core/Notifications/Plex/PlexServer.cs index 6df869089..e58bd6229 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexServer.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexServer.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs b/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs index 97e582569..0c4714e5b 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs @@ -1,10 +1,8 @@ using System; using System.Collections.Generic; -using System.IO; using System.Linq; using Newtonsoft.Json.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Cache; using NzbDrone.Common.Extensions; using NzbDrone.Common.Serializer; diff --git a/src/NzbDrone.Core/Notifications/Prowl/Prowl.cs b/src/NzbDrone.Core/Notifications/Prowl/Prowl.cs index 43d273c6d..b9afc17e9 100644 --- a/src/NzbDrone.Core/Notifications/Prowl/Prowl.cs +++ b/src/NzbDrone.Core/Notifications/Prowl/Prowl.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; using Prowlin; diff --git a/src/NzbDrone.Core/Notifications/PushBullet/PushBullet.cs b/src/NzbDrone.Core/Notifications/PushBullet/PushBullet.cs index 49e314192..3a22673cc 100644 --- a/src/NzbDrone.Core/Notifications/PushBullet/PushBullet.cs +++ b/src/NzbDrone.Core/Notifications/PushBullet/PushBullet.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Pushalot/Pushalot.cs b/src/NzbDrone.Core/Notifications/Pushalot/Pushalot.cs index 193a942fc..971033cff 100644 --- a/src/NzbDrone.Core/Notifications/Pushalot/Pushalot.cs +++ b/src/NzbDrone.Core/Notifications/Pushalot/Pushalot.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Pushover/Pushover.cs b/src/NzbDrone.Core/Notifications/Pushover/Pushover.cs index e19e7d851..e469a99ee 100644 --- a/src/NzbDrone.Core/Notifications/Pushover/Pushover.cs +++ b/src/NzbDrone.Core/Notifications/Pushover/Pushover.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using FluentValidation.Results; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Pushover/PushoverService.cs b/src/NzbDrone.Core/Notifications/Pushover/PushoverService.cs index f083eaffb..d8306253e 100644 --- a/src/NzbDrone.Core/Notifications/Pushover/PushoverService.cs +++ b/src/NzbDrone.Core/Notifications/Pushover/PushoverService.cs @@ -1,7 +1,6 @@ using System; using FluentValidation.Results; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using RestSharp; using NzbDrone.Core.Rest; diff --git a/src/NzbDrone.Core/Notifications/Xbmc/HttpApiProvider.cs b/src/NzbDrone.Core/Notifications/Xbmc/HttpApiProvider.cs index 2dfa9843b..dba2cbd0e 100644 --- a/src/NzbDrone.Core/Notifications/Xbmc/HttpApiProvider.cs +++ b/src/NzbDrone.Core/Notifications/Xbmc/HttpApiProvider.cs @@ -4,7 +4,6 @@ using System.IO; using System.Linq; using System.Xml.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Http; using NzbDrone.Core.Notifications.Xbmc.Model; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs b/src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs index 67e7c9898..5ab4ae6a6 100644 --- a/src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs +++ b/src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Net.Sockets; using FluentValidation.Results; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs b/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs index 968834129..ae0c020ee 100644 --- a/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs +++ b/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Serializer; using NzbDrone.Core.Notifications.Xbmc.Model; diff --git a/src/NzbDrone.Core/Organizer/BasicNamingConfig.cs b/src/NzbDrone.Core/Organizer/BasicNamingConfig.cs index 62d476701..b0dc16f6a 100644 --- a/src/NzbDrone.Core/Organizer/BasicNamingConfig.cs +++ b/src/NzbDrone.Core/Organizer/BasicNamingConfig.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace NzbDrone.Core.Organizer +namespace NzbDrone.Core.Organizer { public class BasicNamingConfig { diff --git a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs index b09cf8a4f..2a1842372 100644 --- a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs +++ b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs @@ -4,7 +4,6 @@ using System.IO; using System.Linq; using System.Text.RegularExpressions; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Cache; using NzbDrone.Common.EnsureThat; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Core/Organizer/SampleResult.cs b/src/NzbDrone.Core/Organizer/SampleResult.cs index 8966646e0..6b5d9fdb9 100644 --- a/src/NzbDrone.Core/Organizer/SampleResult.cs +++ b/src/NzbDrone.Core/Organizer/SampleResult.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Parser/Model/ParsedEpisodeInfo.cs b/src/NzbDrone.Core/Parser/Model/ParsedEpisodeInfo.cs index 9db74d8b8..df50abf53 100644 --- a/src/NzbDrone.Core/Parser/Model/ParsedEpisodeInfo.cs +++ b/src/NzbDrone.Core/Parser/Model/ParsedEpisodeInfo.cs @@ -1,6 +1,5 @@ using System; using System.Linq; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Qualities; diff --git a/src/NzbDrone.Core/Parser/Parser.cs b/src/NzbDrone.Core/Parser/Parser.cs index 355fda408..b1f5b74fa 100644 --- a/src/NzbDrone.Core/Parser/Parser.cs +++ b/src/NzbDrone.Core/Parser/Parser.cs @@ -4,7 +4,6 @@ using System.IO; using System.Linq; using System.Text.RegularExpressions; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Common.Instrumentation; using NzbDrone.Core.Parser.Model; diff --git a/src/NzbDrone.Core/Parser/ParsingService.cs b/src/NzbDrone.Core/Parser/ParsingService.cs index 8b424f0a5..cf4ba1941 100644 --- a/src/NzbDrone.Core/Parser/ParsingService.cs +++ b/src/NzbDrone.Core/Parser/ParsingService.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.DataAugmentation.Scene; using NzbDrone.Core.IndexerSearch.Definitions; diff --git a/src/NzbDrone.Core/Parser/QualityParser.cs b/src/NzbDrone.Core/Parser/QualityParser.cs index 1c714929b..0debd5d60 100644 --- a/src/NzbDrone.Core/Parser/QualityParser.cs +++ b/src/NzbDrone.Core/Parser/QualityParser.cs @@ -2,7 +2,6 @@ using System.IO; using System.Text.RegularExpressions; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Qualities; diff --git a/src/NzbDrone.Core/Profiles/Delay/DelayProfileService.cs b/src/NzbDrone.Core/Profiles/Delay/DelayProfileService.cs index d6ff9a1d2..a367ce4eb 100644 --- a/src/NzbDrone.Core/Profiles/Delay/DelayProfileService.cs +++ b/src/NzbDrone.Core/Profiles/Delay/DelayProfileService.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using NzbDrone.Common; using NzbDrone.Common.Extensions; namespace NzbDrone.Core.Profiles.Delay diff --git a/src/NzbDrone.Core/Qualities/QualityDefinitionRepository.cs b/src/NzbDrone.Core/Qualities/QualityDefinitionRepository.cs index 6aa7c9fb0..5373f4f23 100644 --- a/src/NzbDrone.Core/Qualities/QualityDefinitionRepository.cs +++ b/src/NzbDrone.Core/Qualities/QualityDefinitionRepository.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using NzbDrone.Core.Datastore; +using NzbDrone.Core.Datastore; using NzbDrone.Core.Messaging.Events; diff --git a/src/NzbDrone.Core/RemotePathMappings/RemotePathMapping.cs b/src/NzbDrone.Core/RemotePathMappings/RemotePathMapping.cs index e2cdc4c17..6ff10fae9 100644 --- a/src/NzbDrone.Core/RemotePathMappings/RemotePathMapping.cs +++ b/src/NzbDrone.Core/RemotePathMappings/RemotePathMapping.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using NzbDrone.Common.Disk; using NzbDrone.Core.Datastore; diff --git a/src/NzbDrone.Core/RemotePathMappings/RemotePathMappingService.cs b/src/NzbDrone.Core/RemotePathMappings/RemotePathMappingService.cs index f1fadfdf7..93c6dd424 100644 --- a/src/NzbDrone.Core/RemotePathMappings/RemotePathMappingService.cs +++ b/src/NzbDrone.Core/RemotePathMappings/RemotePathMappingService.cs @@ -3,12 +3,8 @@ using System; using System.Collections.Generic; using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; -using NzbDrone.Common.Instrumentation; -using NzbDrone.Core.Configuration; -using NzbDrone.Core.Tv; using NzbDrone.Common.Cache; using NzbDrone.Core.Download; using NzbDrone.Core.ThingiProvider; diff --git a/src/NzbDrone.Core/Rest/RestClientFactory.cs b/src/NzbDrone.Core/Rest/RestClientFactory.cs index af34b54c6..568dbd2e0 100644 --- a/src/NzbDrone.Core/Rest/RestClientFactory.cs +++ b/src/NzbDrone.Core/Rest/RestClientFactory.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using RestSharp; using NzbDrone.Common.EnvironmentInfo; diff --git a/src/NzbDrone.Core/Restrictions/RestrictionService.cs b/src/NzbDrone.Core/Restrictions/RestrictionService.cs index 286e6f1fb..d05b5874b 100644 --- a/src/NzbDrone.Core/Restrictions/RestrictionService.cs +++ b/src/NzbDrone.Core/Restrictions/RestrictionService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; namespace NzbDrone.Core.Restrictions diff --git a/src/NzbDrone.Core/ThingiProvider/Events/ProviderUpdatedEvent.cs b/src/NzbDrone.Core/ThingiProvider/Events/ProviderUpdatedEvent.cs index aa9f7f984..9a8765cd0 100644 --- a/src/NzbDrone.Core/ThingiProvider/Events/ProviderUpdatedEvent.cs +++ b/src/NzbDrone.Core/ThingiProvider/Events/ProviderUpdatedEvent.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using NzbDrone.Common.Messaging; +using NzbDrone.Common.Messaging; namespace NzbDrone.Core.ThingiProvider.Events { diff --git a/src/NzbDrone.Core/Tv/Episode.cs b/src/NzbDrone.Core/Tv/Episode.cs index 69446641e..e0032f62f 100644 --- a/src/NzbDrone.Core/Tv/Episode.cs +++ b/src/NzbDrone.Core/Tv/Episode.cs @@ -4,7 +4,6 @@ using Marr.Data; using NzbDrone.Common.Extensions; using NzbDrone.Core.Datastore; using NzbDrone.Core.MediaFiles; -using NzbDrone.Common; namespace NzbDrone.Core.Tv { diff --git a/src/NzbDrone.Core/Tv/EpisodeRepository.cs b/src/NzbDrone.Core/Tv/EpisodeRepository.cs index e2f4de200..77ac3f756 100644 --- a/src/NzbDrone.Core/Tv/EpisodeRepository.cs +++ b/src/NzbDrone.Core/Tv/EpisodeRepository.cs @@ -1,10 +1,8 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using Marr.Data.QGen; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Datastore; using NzbDrone.Core.Datastore.Extensions; diff --git a/src/NzbDrone.Core/Tv/MoveSeriesService.cs b/src/NzbDrone.Core/Tv/MoveSeriesService.cs index cd183268d..2713d6ddd 100644 --- a/src/NzbDrone.Core/Tv/MoveSeriesService.cs +++ b/src/NzbDrone.Core/Tv/MoveSeriesService.cs @@ -1,7 +1,6 @@ using System; using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.Extensions; using NzbDrone.Common.Instrumentation.Extensions; diff --git a/src/NzbDrone.Core/Tv/RefreshEpisodeService.cs b/src/NzbDrone.Core/Tv/RefreshEpisodeService.cs index 2667612af..fefbd82c6 100644 --- a/src/NzbDrone.Core/Tv/RefreshEpisodeService.cs +++ b/src/NzbDrone.Core/Tv/RefreshEpisodeService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Messaging.Events; using NzbDrone.Core.MetadataSource.Tvdb; diff --git a/src/NzbDrone.Core/Tv/RefreshSeriesService.cs b/src/NzbDrone.Core/Tv/RefreshSeriesService.cs index 1667b0c93..7e9e912ef 100644 --- a/src/NzbDrone.Core/Tv/RefreshSeriesService.cs +++ b/src/NzbDrone.Core/Tv/RefreshSeriesService.cs @@ -12,7 +12,6 @@ using NzbDrone.Core.Messaging.Events; using NzbDrone.Core.MetadataSource; using NzbDrone.Core.Tv.Commands; using NzbDrone.Core.Tv.Events; -using NzbDrone.Common; namespace NzbDrone.Core.Tv { diff --git a/src/NzbDrone.Core/Tv/Series.cs b/src/NzbDrone.Core/Tv/Series.cs index 798ceed3a..5ec1328cd 100644 --- a/src/NzbDrone.Core/Tv/Series.cs +++ b/src/NzbDrone.Core/Tv/Series.cs @@ -4,7 +4,6 @@ using Marr.Data; using NzbDrone.Common.Extensions; using NzbDrone.Core.Datastore; using NzbDrone.Core.Profiles; -using NzbDrone.Common; namespace NzbDrone.Core.Tv { diff --git a/src/NzbDrone.Core/Tv/SeriesRepository.cs b/src/NzbDrone.Core/Tv/SeriesRepository.cs index 80d26a64d..5e5ae00f9 100644 --- a/src/NzbDrone.Core/Tv/SeriesRepository.cs +++ b/src/NzbDrone.Core/Tv/SeriesRepository.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq; +using System.Linq; using NzbDrone.Core.Datastore; using NzbDrone.Core.Messaging.Events; diff --git a/src/NzbDrone.Core/Tv/SeriesService.cs b/src/NzbDrone.Core/Tv/SeriesService.cs index b03331181..bed935b9b 100644 --- a/src/NzbDrone.Core/Tv/SeriesService.cs +++ b/src/NzbDrone.Core/Tv/SeriesService.cs @@ -3,13 +3,11 @@ using System.Collections.Generic; using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.EnsureThat; using NzbDrone.Common.Extensions; using NzbDrone.Core.DataAugmentation.Scene; using NzbDrone.Core.Messaging.Events; using NzbDrone.Core.Organizer; -using NzbDrone.Core.Parser; using NzbDrone.Core.Tv.Events; namespace NzbDrone.Core.Tv diff --git a/src/NzbDrone.Core/Validation/FolderValidator.cs b/src/NzbDrone.Core/Validation/FolderValidator.cs index 80f7dc824..32bcb141c 100644 --- a/src/NzbDrone.Core/Validation/FolderValidator.cs +++ b/src/NzbDrone.Core/Validation/FolderValidator.cs @@ -1,5 +1,4 @@ using FluentValidation.Validators; -using NzbDrone.Common; using NzbDrone.Common.Extensions; namespace NzbDrone.Core.Validation diff --git a/src/NzbDrone.Core/Validation/NzbDroneValidationFailure.cs b/src/NzbDrone.Core/Validation/NzbDroneValidationFailure.cs index 5eaea8862..ef2ee9c48 100644 --- a/src/NzbDrone.Core/Validation/NzbDroneValidationFailure.cs +++ b/src/NzbDrone.Core/Validation/NzbDroneValidationFailure.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using FluentValidation.Results; namespace NzbDrone.Core.Validation diff --git a/src/NzbDrone.Core/Validation/Paths/DroneFactoryValidator.cs b/src/NzbDrone.Core/Validation/Paths/DroneFactoryValidator.cs index 99e3b302c..897299674 100644 --- a/src/NzbDrone.Core/Validation/Paths/DroneFactoryValidator.cs +++ b/src/NzbDrone.Core/Validation/Paths/DroneFactoryValidator.cs @@ -1,6 +1,5 @@ using System; using FluentValidation.Validators; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Configuration; diff --git a/src/NzbDrone.Core/Validation/Paths/PathValidator.cs b/src/NzbDrone.Core/Validation/Paths/PathValidator.cs index ff2fb87a8..b652672b8 100644 --- a/src/NzbDrone.Core/Validation/Paths/PathValidator.cs +++ b/src/NzbDrone.Core/Validation/Paths/PathValidator.cs @@ -1,6 +1,5 @@ using FluentValidation; using FluentValidation.Validators; -using NzbDrone.Common; using NzbDrone.Common.Extensions; namespace NzbDrone.Core.Validation.Paths diff --git a/src/NzbDrone.Core/Validation/Paths/RootFolderValidator.cs b/src/NzbDrone.Core/Validation/Paths/RootFolderValidator.cs index f5bf6f61b..43bd1e650 100644 --- a/src/NzbDrone.Core/Validation/Paths/RootFolderValidator.cs +++ b/src/NzbDrone.Core/Validation/Paths/RootFolderValidator.cs @@ -1,5 +1,4 @@ using FluentValidation.Validators; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.RootFolders; diff --git a/src/NzbDrone.Core/Validation/Paths/SeriesAncestorValidator.cs b/src/NzbDrone.Core/Validation/Paths/SeriesAncestorValidator.cs index f8256db9b..c91560873 100644 --- a/src/NzbDrone.Core/Validation/Paths/SeriesAncestorValidator.cs +++ b/src/NzbDrone.Core/Validation/Paths/SeriesAncestorValidator.cs @@ -1,6 +1,5 @@ using System.Linq; using FluentValidation.Validators; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; diff --git a/src/NzbDrone.Core/Validation/Paths/SeriesPathValidator.cs b/src/NzbDrone.Core/Validation/Paths/SeriesPathValidator.cs index 59ef4fc71..e39e24781 100644 --- a/src/NzbDrone.Core/Validation/Paths/SeriesPathValidator.cs +++ b/src/NzbDrone.Core/Validation/Paths/SeriesPathValidator.cs @@ -1,5 +1,4 @@ using FluentValidation.Validators; -using NzbDrone.Common; using NzbDrone.Common.Extensions; using NzbDrone.Core.Tv; using Omu.ValueInjecter; diff --git a/src/NzbDrone.Host/ApplicationServer.cs b/src/NzbDrone.Host/ApplicationServer.cs index bf1eb19f1..4eb3cbbe6 100644 --- a/src/NzbDrone.Host/ApplicationServer.cs +++ b/src/NzbDrone.Host/ApplicationServer.cs @@ -2,7 +2,6 @@ using System.ServiceProcess; using NLog; using NzbDrone.Common.EnvironmentInfo; -using NzbDrone.Common.Processes; using NzbDrone.Core.Configuration; using NzbDrone.Core.Lifecycle; using NzbDrone.Core.Messaging.Events; diff --git a/src/NzbDrone.Host/Owin/MiddleWare/NzbDroneVersionMiddleWare.cs b/src/NzbDrone.Host/Owin/MiddleWare/NzbDroneVersionMiddleWare.cs index 2c18b4b6d..83c8678ec 100644 --- a/src/NzbDrone.Host/Owin/MiddleWare/NzbDroneVersionMiddleWare.cs +++ b/src/NzbDrone.Host/Owin/MiddleWare/NzbDroneVersionMiddleWare.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Owin; using NzbDrone.Common.EnvironmentInfo; diff --git a/src/NzbDrone.Integration.Test/Client/NotificationClient.cs b/src/NzbDrone.Integration.Test/Client/NotificationClient.cs index f93fa393a..6f0f06eb5 100644 --- a/src/NzbDrone.Integration.Test/Client/NotificationClient.cs +++ b/src/NzbDrone.Integration.Test/Client/NotificationClient.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using NzbDrone.Api.Indexers; using NzbDrone.Api.Notifications; using RestSharp; diff --git a/src/NzbDrone.Integration.Test/NamingConfigTests.cs b/src/NzbDrone.Integration.Test/NamingConfigTests.cs index a0cf82cf1..c78e9d868 100644 --- a/src/NzbDrone.Integration.Test/NamingConfigTests.cs +++ b/src/NzbDrone.Integration.Test/NamingConfigTests.cs @@ -1,7 +1,5 @@ -using System.Net; -using FluentAssertions; +using FluentAssertions; using NUnit.Framework; -using NzbDrone.Api.Config; namespace NzbDrone.Integration.Test { diff --git a/src/NzbDrone.Integration.Test/ReleaseIntegrationTest.cs b/src/NzbDrone.Integration.Test/ReleaseIntegrationTest.cs index 8a5433bb0..a0bdffd1a 100644 --- a/src/NzbDrone.Integration.Test/ReleaseIntegrationTest.cs +++ b/src/NzbDrone.Integration.Test/ReleaseIntegrationTest.cs @@ -1,11 +1,8 @@ using FluentAssertions; using NUnit.Framework; using NzbDrone.Api.Indexers; -using NzbDrone.Api.Series; -using NzbDrone.Test.Common; using System.Linq; using System.Net; -using System.Threading; namespace NzbDrone.Integration.Test { diff --git a/src/NzbDrone.Integration.Test/SeriesEditorIntegrationTest.cs b/src/NzbDrone.Integration.Test/SeriesEditorIntegrationTest.cs index 3667a2247..6330a2151 100644 --- a/src/NzbDrone.Integration.Test/SeriesEditorIntegrationTest.cs +++ b/src/NzbDrone.Integration.Test/SeriesEditorIntegrationTest.cs @@ -1,8 +1,6 @@ using System; -using System.Net; using FluentAssertions; using NUnit.Framework; -using NzbDrone.Api.Series; using System.Linq; using NzbDrone.Test.Common; diff --git a/src/NzbDrone.Mono.Test/Properties/AssemblyInfo.cs b/src/NzbDrone.Mono.Test/Properties/AssemblyInfo.cs index e488817ab..012007b52 100644 --- a/src/NzbDrone.Mono.Test/Properties/AssemblyInfo.cs +++ b/src/NzbDrone.Mono.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.Mono/DiskProvider.cs b/src/NzbDrone.Mono/DiskProvider.cs index 11f080f70..f436ad28f 100644 --- a/src/NzbDrone.Mono/DiskProvider.cs +++ b/src/NzbDrone.Mono/DiskProvider.cs @@ -3,7 +3,6 @@ using System.IO; using System.Linq; using Mono.Unix.Native; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnsureThat; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Mono/Properties/AssemblyInfo.cs b/src/NzbDrone.Mono/Properties/AssemblyInfo.cs index 1ac851bc6..f78631ed8 100644 --- a/src/NzbDrone.Mono/Properties/AssemblyInfo.cs +++ b/src/NzbDrone.Mono/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.SignalR/NzbDronePersistentConnection.cs b/src/NzbDrone.SignalR/NzbDronePersistentConnection.cs index 2a2533376..914c66cee 100644 --- a/src/NzbDrone.SignalR/NzbDronePersistentConnection.cs +++ b/src/NzbDrone.SignalR/NzbDronePersistentConnection.cs @@ -1,6 +1,5 @@ using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Infrastructure; -using NzbDrone.Core.Messaging.Commands; namespace NzbDrone.SignalR { diff --git a/src/NzbDrone.Update/UpdateApp.cs b/src/NzbDrone.Update/UpdateApp.cs index 177e16517..646d1fc0c 100644 --- a/src/NzbDrone.Update/UpdateApp.cs +++ b/src/NzbDrone.Update/UpdateApp.cs @@ -2,7 +2,6 @@ using System.IO; using System.Linq; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Composition; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Update/UpdateEngine/BackupAndRestore.cs b/src/NzbDrone.Update/UpdateEngine/BackupAndRestore.cs index 9229ee577..37142b2ad 100644 --- a/src/NzbDrone.Update/UpdateEngine/BackupAndRestore.cs +++ b/src/NzbDrone.Update/UpdateEngine/BackupAndRestore.cs @@ -1,5 +1,4 @@ using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Update/UpdateEngine/BackupAppData.cs b/src/NzbDrone.Update/UpdateEngine/BackupAppData.cs index ea8ad6f28..605688150 100644 --- a/src/NzbDrone.Update/UpdateEngine/BackupAppData.cs +++ b/src/NzbDrone.Update/UpdateEngine/BackupAppData.cs @@ -1,6 +1,4 @@ -using System.IO; -using NLog; -using NzbDrone.Common; +using NLog; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs index a914d9cf6..0569aa8c2 100644 --- a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs +++ b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs @@ -1,7 +1,6 @@ using System; using System.IO; using NLog; -using NzbDrone.Common; using NzbDrone.Common.Disk; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Extensions; diff --git a/src/NzbDrone.Windows.Test/Properties/AssemblyInfo.cs b/src/NzbDrone.Windows.Test/Properties/AssemblyInfo.cs index e4bc41c28..c881ae54e 100644 --- a/src/NzbDrone.Windows.Test/Properties/AssemblyInfo.cs +++ b/src/NzbDrone.Windows.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.Windows/Properties/AssemblyInfo.cs b/src/NzbDrone.Windows/Properties/AssemblyInfo.cs index 3d3d06ff5..bbeee6014 100644 --- a/src/NzbDrone.Windows/Properties/AssemblyInfo.cs +++ b/src/NzbDrone.Windows/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