diff --git a/NzbDrone.Core.Test/JobTests/DiskScanJobTest.cs b/NzbDrone.Core.Test/JobTests/DiskScanJobTest.cs index 48463cbc0..60bb0ff39 100644 --- a/NzbDrone.Core.Test/JobTests/DiskScanJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/DiskScanJobTest.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using FizzWare.NBuilder; using Moq; using NUnit.Framework; +using NzbDrone.Core.Jobs.Implementations; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Tv; using NzbDrone.Core.Jobs; diff --git a/NzbDrone.Core.Test/JobTests/RenameSeasonJobFixture.cs b/NzbDrone.Core.Test/JobTests/RenameSeasonJobFixture.cs index b690492be..3a6b30e71 100644 --- a/NzbDrone.Core.Test/JobTests/RenameSeasonJobFixture.cs +++ b/NzbDrone.Core.Test/JobTests/RenameSeasonJobFixture.cs @@ -5,6 +5,7 @@ using System.Text; using FizzWare.NBuilder; using Moq; using NUnit.Framework; +using NzbDrone.Core.Jobs.Implementations; using NzbDrone.Core.MediaFiles; using NzbDrone.Core.Tv; using NzbDrone.Core.Jobs; diff --git a/NzbDrone.Core.Test/JobTests/SeriesSearchJobTest.cs b/NzbDrone.Core.Test/JobTests/SeriesSearchJobTest.cs index f546fec2d..f125473d7 100644 --- a/NzbDrone.Core.Test/JobTests/SeriesSearchJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/SeriesSearchJobTest.cs @@ -2,6 +2,7 @@ using Moq; using NUnit.Framework; +using NzbDrone.Core.Jobs.Implementations; using NzbDrone.Core.Tv; using NzbDrone.Core.Jobs; using NzbDrone.Core.Model.Notification; diff --git a/NzbDrone.Core/Jobs/Framework/IJob.cs b/NzbDrone.Core/Jobs/IJob.cs similarity index 95% rename from NzbDrone.Core/Jobs/Framework/IJob.cs rename to NzbDrone.Core/Jobs/IJob.cs index 585fbfcf7..bb4d238a4 100644 --- a/NzbDrone.Core/Jobs/Framework/IJob.cs +++ b/NzbDrone.Core/Jobs/IJob.cs @@ -1,8 +1,8 @@ -using System; +using System; using System.Linq; using NzbDrone.Core.Model.Notification; -namespace NzbDrone.Core.Jobs.Framework +namespace NzbDrone.Core.Jobs { public interface IJob { diff --git a/NzbDrone.Core/Jobs/BacklogSearchJob.cs b/NzbDrone.Core/Jobs/Implementations/BacklogSearchJob.cs similarity index 98% rename from NzbDrone.Core/Jobs/BacklogSearchJob.cs rename to NzbDrone.Core/Jobs/Implementations/BacklogSearchJob.cs index aa8a3d9cc..575c9b254 100644 --- a/NzbDrone.Core/Jobs/BacklogSearchJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/BacklogSearchJob.cs @@ -1,14 +1,13 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Core.Configuration; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model; using NzbDrone.Core.Model.Notification; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class BacklogSearchJob : IJob { diff --git a/NzbDrone.Core/Jobs/CleanupRecycleBinJob.cs b/NzbDrone.Core/Jobs/Implementations/CleanupRecycleBinJob.cs similarity index 83% rename from NzbDrone.Core/Jobs/CleanupRecycleBinJob.cs rename to NzbDrone.Core/Jobs/Implementations/CleanupRecycleBinJob.cs index cdbf4165e..deb5bf06a 100644 --- a/NzbDrone.Core/Jobs/CleanupRecycleBinJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/CleanupRecycleBinJob.cs @@ -1,12 +1,9 @@ -using System.Linq; using System; -using NLog; -using NzbDrone.Core.Jobs.Framework; +using System.Linq; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; -using NzbDrone.Core.Providers.Converting; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class CleanupRecycleBinJob : IJob { diff --git a/NzbDrone.Core/Jobs/ConvertEpisodeJob.cs b/NzbDrone.Core/Jobs/Implementations/ConvertEpisodeJob.cs similarity index 92% rename from NzbDrone.Core/Jobs/ConvertEpisodeJob.cs rename to NzbDrone.Core/Jobs/Implementations/ConvertEpisodeJob.cs index e5044553c..de67936b9 100644 --- a/NzbDrone.Core/Jobs/ConvertEpisodeJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/ConvertEpisodeJob.cs @@ -1,14 +1,11 @@ -using System.Linq; using System; +using System.Linq; using NLog; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; using NzbDrone.Core.Providers.Converting; -using NzbDrone.Core.Repository; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class ConvertEpisodeJob : IJob { diff --git a/NzbDrone.Core/Jobs/DeleteSeriesJob.cs b/NzbDrone.Core/Jobs/Implementations/DeleteSeriesJob.cs similarity index 95% rename from NzbDrone.Core/Jobs/DeleteSeriesJob.cs rename to NzbDrone.Core/Jobs/Implementations/DeleteSeriesJob.cs index db9a92e14..2bfe6a002 100644 --- a/NzbDrone.Core/Jobs/DeleteSeriesJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/DeleteSeriesJob.cs @@ -1,13 +1,11 @@ -using System.Linq; using System; +using System.Linq; using NLog; -using NzbDrone.Common; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class DeleteSeriesJob : IJob { diff --git a/NzbDrone.Core/Jobs/DiskScanJob.cs b/NzbDrone.Core/Jobs/Implementations/DiskScanJob.cs similarity index 95% rename from NzbDrone.Core/Jobs/DiskScanJob.cs rename to NzbDrone.Core/Jobs/Implementations/DiskScanJob.cs index 2ae5b5b98..8f3910a2c 100644 --- a/NzbDrone.Core/Jobs/DiskScanJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/DiskScanJob.cs @@ -1,16 +1,14 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Core.Configuration; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Core.Helpers; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; -using NzbDrone.Core.Repository; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class DiskScanJob : IJob { diff --git a/NzbDrone.Core/Jobs/EmptyRecycleBinJob.cs b/NzbDrone.Core/Jobs/Implementations/EmptyRecycleBinJob.cs similarity index 83% rename from NzbDrone.Core/Jobs/EmptyRecycleBinJob.cs rename to NzbDrone.Core/Jobs/Implementations/EmptyRecycleBinJob.cs index b9ee8e641..78736706d 100644 --- a/NzbDrone.Core/Jobs/EmptyRecycleBinJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/EmptyRecycleBinJob.cs @@ -1,12 +1,9 @@ -using System.Linq; using System; -using NLog; -using NzbDrone.Core.Jobs.Framework; +using System.Linq; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; -using NzbDrone.Core.Providers.Converting; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class EmptyRecycleBinJob : IJob { diff --git a/NzbDrone.Core/Jobs/EpisodeSearchJob.cs b/NzbDrone.Core/Jobs/Implementations/EpisodeSearchJob.cs similarity index 95% rename from NzbDrone.Core/Jobs/EpisodeSearchJob.cs rename to NzbDrone.Core/Jobs/Implementations/EpisodeSearchJob.cs index 85fb1a881..6400ffe6e 100644 --- a/NzbDrone.Core/Jobs/EpisodeSearchJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/EpisodeSearchJob.cs @@ -1,15 +1,12 @@ -using System.Linq; using System; +using System.Linq; using NLog; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; -using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; using NzbDrone.Core.DecisionEngine; +using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers.Search; -using NzbDrone.Core.Repository; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class EpisodeSearchJob : IJob { diff --git a/NzbDrone.Core/Jobs/ImportNewSeriesJob.cs b/NzbDrone.Core/Jobs/Implementations/ImportNewSeriesJob.cs similarity index 97% rename from NzbDrone.Core/Jobs/ImportNewSeriesJob.cs rename to NzbDrone.Core/Jobs/Implementations/ImportNewSeriesJob.cs index 67da7106b..57e0d106b 100644 --- a/NzbDrone.Core/Jobs/ImportNewSeriesJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/ImportNewSeriesJob.cs @@ -1,16 +1,14 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Linq; using NLog; using NzbDrone.Core.Datastore; -using NzbDrone.Core.Jobs.Framework; using NzbDrone.Core.MediaFiles; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { /// /// This job processes newly added jobs by downloading their info diff --git a/NzbDrone.Core/Jobs/PastWeekBacklogSearchJob.cs b/NzbDrone.Core/Jobs/Implementations/PastWeekBacklogSearchJob.cs similarity index 91% rename from NzbDrone.Core/Jobs/PastWeekBacklogSearchJob.cs rename to NzbDrone.Core/Jobs/Implementations/PastWeekBacklogSearchJob.cs index af7ae5e50..bc0a3ce3a 100644 --- a/NzbDrone.Core/Jobs/PastWeekBacklogSearchJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/PastWeekBacklogSearchJob.cs @@ -1,16 +1,12 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Core.Configuration; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; -using NzbDrone.Core.Model; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; -using NzbDrone.Core.Repository; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class PastWeekBacklogSearchJob : IJob { diff --git a/NzbDrone.Core/Jobs/PostDownloadScanJob.cs b/NzbDrone.Core/Jobs/Implementations/PostDownloadScanJob.cs similarity index 95% rename from NzbDrone.Core/Jobs/PostDownloadScanJob.cs rename to NzbDrone.Core/Jobs/Implementations/PostDownloadScanJob.cs index a8315c134..f12306cfe 100644 --- a/NzbDrone.Core/Jobs/PostDownloadScanJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/PostDownloadScanJob.cs @@ -1,13 +1,12 @@ -using System.Linq; using System; +using System.Linq; using NLog; using NzbDrone.Common; using NzbDrone.Core.Configuration; -using NzbDrone.Core.Jobs.Framework; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class PostDownloadScanJob : IJob { diff --git a/NzbDrone.Core/Jobs/RecentBacklogSearchJob.cs b/NzbDrone.Core/Jobs/Implementations/RecentBacklogSearchJob.cs similarity index 95% rename from NzbDrone.Core/Jobs/RecentBacklogSearchJob.cs rename to NzbDrone.Core/Jobs/Implementations/RecentBacklogSearchJob.cs index 2cc4a2434..1b7a1584f 100644 --- a/NzbDrone.Core/Jobs/RecentBacklogSearchJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/RecentBacklogSearchJob.cs @@ -1,16 +1,13 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Core.Configuration; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; -using NzbDrone.Core.Repository; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class RecentBacklogSearchJob : IJob { diff --git a/NzbDrone.Core/Jobs/RefreshEpsiodeMetadata.cs b/NzbDrone.Core/Jobs/Implementations/RefreshEpisodeMetadata.cs similarity index 93% rename from NzbDrone.Core/Jobs/RefreshEpsiodeMetadata.cs rename to NzbDrone.Core/Jobs/Implementations/RefreshEpisodeMetadata.cs index 9e8398214..f9c430a6a 100644 --- a/NzbDrone.Core/Jobs/RefreshEpsiodeMetadata.cs +++ b/NzbDrone.Core/Jobs/Implementations/RefreshEpisodeMetadata.cs @@ -1,16 +1,12 @@ +using System; using System.Collections.Generic; using System.Linq; -using System; using NLog; -using NzbDrone.Core.Datastore; -using NzbDrone.Core.Jobs.Framework; using NzbDrone.Core.MediaFiles; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; -using NzbDrone.Core.Repository; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class RefreshEpisodeMetadata : IJob { diff --git a/NzbDrone.Core/Jobs/RenameSeasonJob.cs b/NzbDrone.Core/Jobs/Implementations/RenameSeasonJob.cs similarity index 97% rename from NzbDrone.Core/Jobs/RenameSeasonJob.cs rename to NzbDrone.Core/Jobs/Implementations/RenameSeasonJob.cs index 24e3aa264..d5e3f4e97 100644 --- a/NzbDrone.Core/Jobs/RenameSeasonJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/RenameSeasonJob.cs @@ -1,17 +1,15 @@ +using System; using System.Collections.Generic; using System.Linq; -using System; using NLog; using NzbDrone.Common.Eventing; using NzbDrone.Core.Download; -using NzbDrone.Core.ExternalNotification; -using NzbDrone.Core.Jobs.Framework; using NzbDrone.Core.MediaFiles; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class RenameSeasonJob : IJob { diff --git a/NzbDrone.Core/Jobs/RenameSeriesJob.cs b/NzbDrone.Core/Jobs/Implementations/RenameSeriesJob.cs similarity index 98% rename from NzbDrone.Core/Jobs/RenameSeriesJob.cs rename to NzbDrone.Core/Jobs/Implementations/RenameSeriesJob.cs index 8e8aab6f5..75a3c552c 100644 --- a/NzbDrone.Core/Jobs/RenameSeriesJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/RenameSeriesJob.cs @@ -1,16 +1,15 @@ +using System; using System.Collections.Generic; using System.Linq; -using System; using NLog; using NzbDrone.Common.Eventing; using NzbDrone.Core.Download; -using NzbDrone.Core.Jobs.Framework; using NzbDrone.Core.MediaFiles; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class RenameSeriesJob : IJob { diff --git a/NzbDrone.Core/Jobs/RssSyncJob.cs b/NzbDrone.Core/Jobs/Implementations/RssSyncJob.cs similarity index 96% rename from NzbDrone.Core/Jobs/RssSyncJob.cs rename to NzbDrone.Core/Jobs/Implementations/RssSyncJob.cs index ec790686b..5a69d2ed0 100644 --- a/NzbDrone.Core/Jobs/RssSyncJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/RssSyncJob.cs @@ -1,18 +1,16 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NLog; using NzbDrone.Core.Configuration; +using NzbDrone.Core.DecisionEngine; using NzbDrone.Core.Download; using NzbDrone.Core.Indexers; -using NzbDrone.Core.Jobs.Framework; using NzbDrone.Core.Model; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; -using NzbDrone.Core.DecisionEngine; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class RssSyncJob : IJob { diff --git a/NzbDrone.Core/Jobs/SeasonSearchJob.cs b/NzbDrone.Core/Jobs/Implementations/SeasonSearchJob.cs similarity index 95% rename from NzbDrone.Core/Jobs/SeasonSearchJob.cs rename to NzbDrone.Core/Jobs/Implementations/SeasonSearchJob.cs index 982e53765..575a7af6f 100644 --- a/NzbDrone.Core/Jobs/SeasonSearchJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/SeasonSearchJob.cs @@ -1,14 +1,12 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; -using NzbDrone.Core.Repository; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class SeasonSearchJob : IJob { diff --git a/NzbDrone.Core/Jobs/SeriesSearchJob.cs b/NzbDrone.Core/Jobs/Implementations/SeriesSearchJob.cs similarity index 91% rename from NzbDrone.Core/Jobs/SeriesSearchJob.cs rename to NzbDrone.Core/Jobs/Implementations/SeriesSearchJob.cs index cf4bebdd1..95be1bbc6 100644 --- a/NzbDrone.Core/Jobs/SeriesSearchJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/SeriesSearchJob.cs @@ -1,14 +1,11 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using NLog; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.Tv; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; -using NzbDrone.Core.Repository; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class SeriesSearchJob : IJob { diff --git a/NzbDrone.Core/Jobs/UpdateInfoJob.cs b/NzbDrone.Core/Jobs/Implementations/UpdateInfoJob.cs similarity index 94% rename from NzbDrone.Core/Jobs/UpdateInfoJob.cs rename to NzbDrone.Core/Jobs/Implementations/UpdateInfoJob.cs index a567da08f..ff6ba9336 100644 --- a/NzbDrone.Core/Jobs/UpdateInfoJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/UpdateInfoJob.cs @@ -1,18 +1,14 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Core.Configuration; -using NzbDrone.Core.Datastore; -using NzbDrone.Core.Jobs.Framework; -using NzbDrone.Core.ReferenceData; -using NzbDrone.Core.Tv; using NzbDrone.Core.Helpers; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; -using NzbDrone.Core.Repository; +using NzbDrone.Core.ReferenceData; +using NzbDrone.Core.Tv; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class UpdateInfoJob : IJob { diff --git a/NzbDrone.Core/Jobs/UpdateSceneMappingsJob.cs b/NzbDrone.Core/Jobs/Implementations/UpdateSceneMappingsJob.cs similarity index 87% rename from NzbDrone.Core/Jobs/UpdateSceneMappingsJob.cs rename to NzbDrone.Core/Jobs/Implementations/UpdateSceneMappingsJob.cs index 4f6a60975..83f72c0c1 100644 --- a/NzbDrone.Core/Jobs/UpdateSceneMappingsJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/UpdateSceneMappingsJob.cs @@ -1,11 +1,9 @@ -using System; +using System; using System.Linq; -using NzbDrone.Core.Jobs.Framework; using NzbDrone.Core.Model.Notification; -using NzbDrone.Core.Providers; using NzbDrone.Core.ReferenceData; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class UpdateSceneMappingsJob : IJob { diff --git a/NzbDrone.Core/Jobs/XemUpdateJob.cs b/NzbDrone.Core/Jobs/Implementations/XemUpdateJob.cs similarity index 87% rename from NzbDrone.Core/Jobs/XemUpdateJob.cs rename to NzbDrone.Core/Jobs/Implementations/XemUpdateJob.cs index d7f524f10..6372c3f08 100644 --- a/NzbDrone.Core/Jobs/XemUpdateJob.cs +++ b/NzbDrone.Core/Jobs/Implementations/XemUpdateJob.cs @@ -1,14 +1,10 @@ -using System; -using System.Collections.Generic; +using System; using System.Linq; using NLog; -using NzbDrone.Core.Helpers; -using NzbDrone.Core.Jobs.Framework; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; -using NzbDrone.Core.Repository; -namespace NzbDrone.Core.Jobs +namespace NzbDrone.Core.Jobs.Implementations { public class XemUpdateJob : IJob { diff --git a/NzbDrone.Core/Jobs/Framework/JobController.cs b/NzbDrone.Core/Jobs/JobController.cs similarity index 99% rename from NzbDrone.Core/Jobs/Framework/JobController.cs rename to NzbDrone.Core/Jobs/JobController.cs index 4b4042212..7b26c19b4 100644 --- a/NzbDrone.Core/Jobs/Framework/JobController.cs +++ b/NzbDrone.Core/Jobs/JobController.cs @@ -9,7 +9,7 @@ using NLog; using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Providers; -namespace NzbDrone.Core.Jobs.Framework +namespace NzbDrone.Core.Jobs { public interface IJobController { diff --git a/NzbDrone.Core/Jobs/Framework/JobDefinition.cs b/NzbDrone.Core/Jobs/JobDefinition.cs similarity index 85% rename from NzbDrone.Core/Jobs/Framework/JobDefinition.cs rename to NzbDrone.Core/Jobs/JobDefinition.cs index 0c7d02814..8f19e11a5 100644 --- a/NzbDrone.Core/Jobs/Framework/JobDefinition.cs +++ b/NzbDrone.Core/Jobs/JobDefinition.cs @@ -1,8 +1,8 @@ -using System.Linq; using System; +using System.Linq; using NzbDrone.Core.Datastore; -namespace NzbDrone.Core.Jobs.Framework +namespace NzbDrone.Core.Jobs { public class JobDefinition : ModelBase { diff --git a/NzbDrone.Core/Jobs/Framework/JobQueueItem.cs b/NzbDrone.Core/Jobs/JobQueueItem.cs similarity index 90% rename from NzbDrone.Core/Jobs/Framework/JobQueueItem.cs rename to NzbDrone.Core/Jobs/JobQueueItem.cs index 06ee45ced..25a9cd8ed 100644 --- a/NzbDrone.Core/Jobs/Framework/JobQueueItem.cs +++ b/NzbDrone.Core/Jobs/JobQueueItem.cs @@ -1,7 +1,7 @@ -using System.Linq; using System; +using System.Linq; -namespace NzbDrone.Core.Jobs.Framework +namespace NzbDrone.Core.Jobs { public class JobQueueItem : IEquatable { diff --git a/NzbDrone.Core/Jobs/Framework/JobRepository.cs b/NzbDrone.Core/Jobs/JobRepository.cs similarity index 98% rename from NzbDrone.Core/Jobs/Framework/JobRepository.cs rename to NzbDrone.Core/Jobs/JobRepository.cs index 4bb8a1987..1286454fa 100644 --- a/NzbDrone.Core/Jobs/Framework/JobRepository.cs +++ b/NzbDrone.Core/Jobs/JobRepository.cs @@ -5,7 +5,7 @@ using NLog; using NzbDrone.Core.Datastore; using NzbDrone.Core.Lifecycle; -namespace NzbDrone.Core.Jobs.Framework +namespace NzbDrone.Core.Jobs { public interface IJobRepository : IInitializable, IBasicRepository { diff --git a/NzbDrone.Core/Qualities/QualitySizeRepository.cs b/NzbDrone.Core/Qualities/QualitySizeRepository.cs index b2ee4bbef..8a91d6439 100644 --- a/NzbDrone.Core/Qualities/QualitySizeRepository.cs +++ b/NzbDrone.Core/Qualities/QualitySizeRepository.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Linq; using NzbDrone.Core.Datastore; namespace NzbDrone.Core.Qualities @@ -14,7 +11,7 @@ namespace NzbDrone.Core.Qualities public class QualitySizeRepository : BasicRepository, IQualitySizeRepository { public QualitySizeRepository(IObjectDatabase database) - : base(database) + : base(database) { }