refactor: Tidying

This commit is contained in:
Chris Cameron
2018-10-22 16:39:53 -04:00
parent fc234af43a
commit 7c29fb72d9

View File

@@ -571,7 +571,7 @@ namespace ICD.Common.Utils
/// <returns></returns> /// <returns></returns>
public static string RemoveWhitespace(string text) public static string RemoveWhitespace(string text)
{ {
return text == null ? null : new string(text.Where(c => !Char.IsWhiteSpace(c)).ToArray()); return text == null ? null : text.RemoveWhitespace();
} }
/// <summary> /// <summary>