Whitespace

This commit is contained in:
Chris Cameron
2018-01-16 13:05:35 -05:00
parent e26d77c827
commit e4be5e7e7c
4 changed files with 170 additions and 177 deletions

View File

@@ -23,10 +23,7 @@ namespace ICD.Common.Utils
/// Gets the path to the program directory
/// </summary>
[PublicAPI]
public static string ProgramPath
{
get { return IcdDirectory.GetApplicationDirectory(); }
}
public static string ProgramPath { get { return IcdDirectory.GetApplicationDirectory(); } }
/// <summary>
/// Gets the path to the NVRAM directory.

View File

@@ -308,9 +308,7 @@ namespace ICD.Common.Utils.Services
m_ServicesSection.Enter();
if (m_Services.ContainsKey(tService))
{
return false;
}
m_Services.Add(tService, service);
}

View File

@@ -531,10 +531,8 @@ namespace ICD.Common.Utils
public static bool IsNullOrWhitespace(string text)
{
if (string.IsNullOrEmpty(text))
{
return true;
}
var trimmed = text.Trim();
string trimmed = text.Trim();
return trimmed.Length == 0;
}