From cc115bafadb1e978df34fc7fba0529f40b5fe370 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Thu, 7 Jun 2018 11:26:47 -0400 Subject: [PATCH] refactor: Removing redundant code --- ICD.Common.Utils/Extensions/TimeSpanExtensions.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/ICD.Common.Utils/Extensions/TimeSpanExtensions.cs b/ICD.Common.Utils/Extensions/TimeSpanExtensions.cs index b64e761..e1e0b28 100644 --- a/ICD.Common.Utils/Extensions/TimeSpanExtensions.cs +++ b/ICD.Common.Utils/Extensions/TimeSpanExtensions.cs @@ -7,9 +7,6 @@ namespace ICD.Common.Utils.Extensions { public static string ToReadableString(this TimeSpan extends) { - if (extends == null) - throw new ArgumentNullException("extends"); - StringBuilder builder = new StringBuilder(); if (extends.Days > 0)