diff --git a/NzbDrone.Api/Directories/DirectoryModule.cs b/NzbDrone.Api/Directories/DirectoryModule.cs index 560364732..1fed2d609 100644 --- a/NzbDrone.Api/Directories/DirectoryModule.cs +++ b/NzbDrone.Api/Directories/DirectoryModule.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Linq; using Nancy; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; using NzbDrone.Common; using NzbDrone.Core.RootFolders; diff --git a/NzbDrone.Api/ErrorManagement/ApiException.cs b/NzbDrone.Api/ErrorManagement/ApiException.cs index 84f859724..27da46d66 100644 --- a/NzbDrone.Api/ErrorManagement/ApiException.cs +++ b/NzbDrone.Api/ErrorManagement/ApiException.cs @@ -3,7 +3,7 @@ using System.Linq; using Nancy; using Nancy.Responses; using Newtonsoft.Json; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; namespace NzbDrone.Api.ErrorManagement { diff --git a/NzbDrone.Api/ErrorManagement/ErrorHandler.cs b/NzbDrone.Api/ErrorManagement/ErrorHandler.cs index e3f82c3e3..154dd8bd4 100644 --- a/NzbDrone.Api/ErrorManagement/ErrorHandler.cs +++ b/NzbDrone.Api/ErrorManagement/ErrorHandler.cs @@ -1,7 +1,7 @@ using System.Linq; using Nancy; using Nancy.ErrorHandling; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; namespace NzbDrone.Api.ErrorManagement { diff --git a/NzbDrone.Api/ErrorManagement/ErrorPipeline.cs b/NzbDrone.Api/ErrorManagement/ErrorPipeline.cs index 60cbfc7f8..fe7ba61d6 100644 --- a/NzbDrone.Api/ErrorManagement/ErrorPipeline.cs +++ b/NzbDrone.Api/ErrorManagement/ErrorPipeline.cs @@ -2,7 +2,7 @@ using System.Linq; using NLog; using Nancy; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; namespace NzbDrone.Api.ErrorManagement { diff --git a/NzbDrone.Api/Extentions/NancyJsonSerializer.cs b/NzbDrone.Api/Extensions/NancyJsonSerializer.cs similarity index 95% rename from NzbDrone.Api/Extentions/NancyJsonSerializer.cs rename to NzbDrone.Api/Extensions/NancyJsonSerializer.cs index 2ed65784e..12b593785 100644 --- a/NzbDrone.Api/Extentions/NancyJsonSerializer.cs +++ b/NzbDrone.Api/Extensions/NancyJsonSerializer.cs @@ -4,7 +4,7 @@ using System.Linq; using Nancy; using Newtonsoft.Json; -namespace NzbDrone.Api.Extentions +namespace NzbDrone.Api.Extensions { public class NancyJsonSerializer : ISerializer { diff --git a/NzbDrone.Api/Extentions/RequestExtensions.cs b/NzbDrone.Api/Extensions/RequestExtensions.cs similarity index 95% rename from NzbDrone.Api/Extentions/RequestExtensions.cs rename to NzbDrone.Api/Extensions/RequestExtensions.cs index 0cab1e012..485245068 100644 --- a/NzbDrone.Api/Extentions/RequestExtensions.cs +++ b/NzbDrone.Api/Extensions/RequestExtensions.cs @@ -4,7 +4,7 @@ using Nancy; using Nancy.Responses; using Newtonsoft.Json; -namespace NzbDrone.Api.Extentions +namespace NzbDrone.Api.Extensions { public static class JsonExtensions { diff --git a/NzbDrone.Api/Extentions/RootPathProvider.cs b/NzbDrone.Api/Extensions/RootPathProvider.cs similarity index 86% rename from NzbDrone.Api/Extentions/RootPathProvider.cs rename to NzbDrone.Api/Extensions/RootPathProvider.cs index 9f5bda027..8f19bdb73 100644 --- a/NzbDrone.Api/Extentions/RootPathProvider.cs +++ b/NzbDrone.Api/Extensions/RootPathProvider.cs @@ -2,7 +2,7 @@ using System.Linq; using Nancy; -namespace NzbDrone.Api.Extentions +namespace NzbDrone.Api.Extensions { public class RootPathProvider : IRootPathProvider { diff --git a/NzbDrone.Api/Extentions/Serializer.cs b/NzbDrone.Api/Extensions/Serializer.cs similarity index 93% rename from NzbDrone.Api/Extentions/Serializer.cs rename to NzbDrone.Api/Extensions/Serializer.cs index cd815d53a..5d6b0f8f3 100644 --- a/NzbDrone.Api/Extentions/Serializer.cs +++ b/NzbDrone.Api/Extensions/Serializer.cs @@ -1,9 +1,8 @@ -using System.IO; -using System.Linq; +using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; -namespace NzbDrone.Api.Extentions +namespace NzbDrone.Api.Extensions { public static class Serializer { diff --git a/NzbDrone.Api/NancyBootstrapper.cs b/NzbDrone.Api/NancyBootstrapper.cs index 562517112..e89427841 100644 --- a/NzbDrone.Api/NancyBootstrapper.cs +++ b/NzbDrone.Api/NancyBootstrapper.cs @@ -8,7 +8,7 @@ using Nancy.Bootstrappers.Autofac; using Nancy.Conventions; using Nancy.Diagnostics; using NzbDrone.Api.ErrorManagement; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; using NzbDrone.Common; using NzbDrone.Core; using NzbDrone.Core.Lifecycle; diff --git a/NzbDrone.Api/NzbDrone.Api.csproj b/NzbDrone.Api/NzbDrone.Api.csproj index 092d3fe5a..12aee9d29 100644 --- a/NzbDrone.Api/NzbDrone.Api.csproj +++ b/NzbDrone.Api/NzbDrone.Api.csproj @@ -111,8 +111,8 @@ - - + + @@ -120,7 +120,7 @@ - + @@ -136,7 +136,7 @@ - + diff --git a/NzbDrone.Api/QualityProfiles/QualityProfilesModule.cs b/NzbDrone.Api/QualityProfiles/QualityProfilesModule.cs index 640f145dc..17c5c6ebb 100644 --- a/NzbDrone.Api/QualityProfiles/QualityProfilesModule.cs +++ b/NzbDrone.Api/QualityProfiles/QualityProfilesModule.cs @@ -2,7 +2,7 @@ using System.Linq; using AutoMapper; using Nancy; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; using NzbDrone.Core.Providers; using NzbDrone.Core.Repository.Quality; using NzbDrone.Api.QualityType; diff --git a/NzbDrone.Api/QualityType/QualityTypeModule.cs b/NzbDrone.Api/QualityType/QualityTypeModule.cs index 88ef10e23..e0f1d1b40 100644 --- a/NzbDrone.Api/QualityType/QualityTypeModule.cs +++ b/NzbDrone.Api/QualityType/QualityTypeModule.cs @@ -2,7 +2,7 @@ using System.Linq; using AutoMapper; using Nancy; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; using NzbDrone.Api.QualityProfiles; using NzbDrone.Core.Providers; diff --git a/NzbDrone.Api/RootFolders/RootFolderModule.cs b/NzbDrone.Api/RootFolders/RootFolderModule.cs index 1b156c52b..87033936d 100644 --- a/NzbDrone.Api/RootFolders/RootFolderModule.cs +++ b/NzbDrone.Api/RootFolders/RootFolderModule.cs @@ -1,6 +1,6 @@ using System.Linq; using Nancy; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; using NzbDrone.Core.Providers; using NzbDrone.Core.Repository; using NzbDrone.Core.RootFolders; diff --git a/NzbDrone.Api/Series/SeriesLookupModule.cs b/NzbDrone.Api/Series/SeriesLookupModule.cs index 27460c95b..f0c338d1d 100644 --- a/NzbDrone.Api/Series/SeriesLookupModule.cs +++ b/NzbDrone.Api/Series/SeriesLookupModule.cs @@ -1,6 +1,6 @@ using System.Linq; using Nancy; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; using NzbDrone.Api.QualityType; using NzbDrone.Core.Providers; diff --git a/NzbDrone.Api/Series/SeriesModule.cs b/NzbDrone.Api/Series/SeriesModule.cs index 2f9bb9fb1..84972871f 100644 --- a/NzbDrone.Api/Series/SeriesModule.cs +++ b/NzbDrone.Api/Series/SeriesModule.cs @@ -5,7 +5,7 @@ using System.Linq; using AutoMapper; using FluentValidation; using Nancy; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; using NzbDrone.Common; using NzbDrone.Core.Tv; using NzbDrone.Core.Jobs; diff --git a/NzbDrone.Api/Upcoming/UpcomingModule.cs b/NzbDrone.Api/Upcoming/UpcomingModule.cs index 8247bbedc..3ca1f0486 100644 --- a/NzbDrone.Api/Upcoming/UpcomingModule.cs +++ b/NzbDrone.Api/Upcoming/UpcomingModule.cs @@ -5,7 +5,7 @@ using System.Linq; using AutoMapper; using FluentValidation; using Nancy; -using NzbDrone.Api.Extentions; +using NzbDrone.Api.Extensions; using NzbDrone.Api.Series; using NzbDrone.Common; using NzbDrone.Core.Jobs;