From 18651d8be1254d887a0870325aaebdefd76a6f6e Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 9 Apr 2023 22:14:53 -0500 Subject: [PATCH] Cleanup old Radarr parsing library conditional --- src/NzbDrone.Core/Fluent.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/NzbDrone.Core/Fluent.cs b/src/NzbDrone.Core/Fluent.cs index 02f993f4e..cc507b242 100644 --- a/src/NzbDrone.Core/Fluent.cs +++ b/src/NzbDrone.Core/Fluent.cs @@ -2,9 +2,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; -#if !LIBRARY using NzbDrone.Common.EnsureThat; -#endif namespace NzbDrone.Core { @@ -12,9 +10,8 @@ namespace NzbDrone.Core { public static string WithDefault(this string actual, object defaultValue) { -#if !LIBRARY Ensure.That(defaultValue, () => defaultValue).IsNotNull(); -#endif + if (string.IsNullOrWhiteSpace(actual)) { return defaultValue.ToString();