From 3e86172831db963eb663e099d2e8c64ff1d4a93b Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Mon, 4 Sep 2023 14:05:37 -0500 Subject: [PATCH] refactor: Remove unneeded NotImplementedException --- src/Recyclarr.Cli/Migration/RequiredMigrationException.cs | 1 - src/Recyclarr.Cli/Pipelines/ReleaseProfile/TermDataConverter.cs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Recyclarr.Cli/Migration/RequiredMigrationException.cs b/src/Recyclarr.Cli/Migration/RequiredMigrationException.cs index 85a96fc5..53473e57 100644 --- a/src/Recyclarr.Cli/Migration/RequiredMigrationException.cs +++ b/src/Recyclarr.Cli/Migration/RequiredMigrationException.cs @@ -5,6 +5,5 @@ public class RequiredMigrationException : Exception public RequiredMigrationException() : base("Some REQUIRED migrations did not pass") { - throw new NotImplementedException(); } } diff --git a/src/Recyclarr.Cli/Pipelines/ReleaseProfile/TermDataConverter.cs b/src/Recyclarr.Cli/Pipelines/ReleaseProfile/TermDataConverter.cs index ee2a2ef7..4aa15613 100644 --- a/src/Recyclarr.Cli/Pipelines/ReleaseProfile/TermDataConverter.cs +++ b/src/Recyclarr.Cli/Pipelines/ReleaseProfile/TermDataConverter.cs @@ -7,6 +7,7 @@ internal class TermDataConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) { + // Not to be used for serialization throw new NotImplementedException(); }