mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-01 17:20:50 +02:00
Cleanup old Radarr parsing library conditional
This commit is contained in:
parent
1608095345
commit
18651d8be1
1 changed files with 1 additions and 4 deletions
|
|
@ -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 @@ public static class Fluent
|
|||
{
|
||||
public static string WithDefault(this string actual, object defaultValue)
|
||||
{
|
||||
#if !LIBRARY
|
||||
Ensure.That(defaultValue, () => defaultValue).IsNotNull();
|
||||
#endif
|
||||
|
||||
if (string.IsNullOrWhiteSpace(actual))
|
||||
{
|
||||
return defaultValue.ToString();
|
||||
|
|
|
|||
Loading…
Reference in a new issue