From a9ada8fcf1e0fb55c3f7195e5b9f7e1079c3a5c2 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 21 Jun 2015 22:56:00 -0700 Subject: [PATCH] Cleanup tabs --- .../Infrastructure/PerformanceCounterWrapper.cs | 2 +- .../Profiles/Delay/DelayProfileModule.cs | 2 +- src/NzbDrone.Core.Test/Files/Xem/Ids.txt | 6 +++--- .../Notifications/Plex/PlexServerProxy.cs | 12 ++++++------ src/NzbDrone.Integration.Test/NamingConfigTests.cs | 12 ++++++------ .../RootFolderIntegrationTest.cs | 2 +- .../SeriesIntegrationTest.cs | 2 +- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterWrapper.cs b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterWrapper.cs index 8b5a4d6fa..f455158bf 100644 --- a/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterWrapper.cs +++ b/src/Microsoft.AspNet.SignalR.Core/Infrastructure/PerformanceCounterWrapper.cs @@ -56,7 +56,7 @@ namespace Microsoft.AspNet.SignalR.Infrastructure } catch(NotImplementedException) { - // This happens on mono + // This happens on mono } } diff --git a/src/NzbDrone.Api/Profiles/Delay/DelayProfileModule.cs b/src/NzbDrone.Api/Profiles/Delay/DelayProfileModule.cs index 41cee470b..33e2c949a 100644 --- a/src/NzbDrone.Api/Profiles/Delay/DelayProfileModule.cs +++ b/src/NzbDrone.Api/Profiles/Delay/DelayProfileModule.cs @@ -22,7 +22,7 @@ namespace NzbDrone.Api.Profiles.Delay DeleteResource = DeleteProfile; SharedValidator.RuleFor(d => d.Tags).NotEmpty().When(d => d.Id != 1); - SharedValidator.RuleFor(d => d.Tags).EmptyCollection().When(d => d.Id == 1); + SharedValidator.RuleFor(d => d.Tags).EmptyCollection().When(d => d.Id == 1); SharedValidator.RuleFor(d => d.Tags).SetValidator(tagInUseValidator); SharedValidator.RuleFor(d => d.UsenetDelay).GreaterThanOrEqualTo(0); SharedValidator.RuleFor(d => d.TorrentDelay).GreaterThanOrEqualTo(0); diff --git a/src/NzbDrone.Core.Test/Files/Xem/Ids.txt b/src/NzbDrone.Core.Test/Files/Xem/Ids.txt index fad09850f..58e6e29e4 100644 --- a/src/NzbDrone.Core.Test/Files/Xem/Ids.txt +++ b/src/NzbDrone.Core.Test/Files/Xem/Ids.txt @@ -2,9 +2,9 @@ "result": "success", "data": [ - "73141", - "79886", - ], + "73141", + "79886", + ], "message": "" } \ No newline at end of file diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs b/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs index 3ae801ee4..192cbff41 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs @@ -147,12 +147,12 @@ namespace NzbDrone.Core.Notifications.Plex private RestRequest GetMyPlexRequest(string resource, Method method) { var request = new RestRequest(resource, method); - request.AddHeader("X-Plex-Platform", "Windows"); - request.AddHeader("X-Plex-Platform-Version", "7"); - request.AddHeader("X-Plex-Provides", "player"); - request.AddHeader("X-Plex-Client-Identifier", "AB6CCCC7-5CF5-4523-826A-B969E0FFD8A0"); - request.AddHeader("X-Plex-Device-Name", "Sonarr"); - request.AddHeader("X-Plex-Product", "Sonarr"); + request.AddHeader("X-Plex-Platform", "Windows"); + request.AddHeader("X-Plex-Platform-Version", "7"); + request.AddHeader("X-Plex-Provides", "player"); + request.AddHeader("X-Plex-Client-Identifier", "AB6CCCC7-5CF5-4523-826A-B969E0FFD8A0"); + request.AddHeader("X-Plex-Device-Name", "Sonarr"); + request.AddHeader("X-Plex-Product", "Sonarr"); request.AddHeader("X-Plex-Version", BuildInfo.Version.ToString()); return request; diff --git a/src/NzbDrone.Integration.Test/NamingConfigTests.cs b/src/NzbDrone.Integration.Test/NamingConfigTests.cs index 52643cbae..de185cdf9 100644 --- a/src/NzbDrone.Integration.Test/NamingConfigTests.cs +++ b/src/NzbDrone.Integration.Test/NamingConfigTests.cs @@ -47,7 +47,7 @@ namespace NzbDrone.Integration.Test config.AnimeEpisodeFormat = "{Series Title} - {season}x{episode:00} - {Episode Title}"; var errors = NamingConfig.InvalidPut(config); - errors.Should().NotBeEmpty(); + errors.Should().NotBeEmpty(); } [Test] @@ -73,7 +73,7 @@ namespace NzbDrone.Integration.Test config.AnimeEpisodeFormat = "{Series Title} - {season}x{episode:00} - {Episode Title}"; var errors = NamingConfig.InvalidPut(config); - errors.Should().NotBeEmpty(); + errors.Should().NotBeEmpty(); } [Test] @@ -86,7 +86,7 @@ namespace NzbDrone.Integration.Test config.AnimeEpisodeFormat = "{Series Title} - {season} - {Episode Title}"; var errors = NamingConfig.InvalidPut(config); - errors.Should().NotBeEmpty(); + errors.Should().NotBeEmpty(); } [Test] @@ -98,7 +98,7 @@ namespace NzbDrone.Integration.Test config.DailyEpisodeFormat = ""; var errors = NamingConfig.InvalidPut(config); - errors.Should().NotBeEmpty(); + errors.Should().NotBeEmpty(); } [Test] @@ -110,7 +110,7 @@ namespace NzbDrone.Integration.Test config.DailyEpisodeFormat = ""; var errors = NamingConfig.InvalidPut(config); - errors.Should().NotBeEmpty(); + errors.Should().NotBeEmpty(); } [Test] @@ -121,7 +121,7 @@ namespace NzbDrone.Integration.Test config.SeriesFolderFormat = "This and That"; var errors = NamingConfig.InvalidPut(config); - errors.Should().NotBeEmpty(); + errors.Should().NotBeEmpty(); } } } \ No newline at end of file diff --git a/src/NzbDrone.Integration.Test/RootFolderIntegrationTest.cs b/src/NzbDrone.Integration.Test/RootFolderIntegrationTest.cs index bc136ff2a..b0470e9f8 100644 --- a/src/NzbDrone.Integration.Test/RootFolderIntegrationTest.cs +++ b/src/NzbDrone.Integration.Test/RootFolderIntegrationTest.cs @@ -50,7 +50,7 @@ namespace NzbDrone.Integration.Test }; var postResponse = RootFolders.InvalidPost(rootFolder); - postResponse.Should().NotBeEmpty(); + postResponse.Should().NotBeEmpty(); } } } \ No newline at end of file diff --git a/src/NzbDrone.Integration.Test/SeriesIntegrationTest.cs b/src/NzbDrone.Integration.Test/SeriesIntegrationTest.cs index fb82b1ca2..f4e6f0c0d 100644 --- a/src/NzbDrone.Integration.Test/SeriesIntegrationTest.cs +++ b/src/NzbDrone.Integration.Test/SeriesIntegrationTest.cs @@ -23,7 +23,7 @@ namespace NzbDrone.Integration.Test public void add_series_without_required_fields_should_return_badrequest() { var errors = Series.InvalidPost(new SeriesResource()); - errors.Should().NotBeEmpty(); + errors.Should().NotBeEmpty(); } [Test]