mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 21:24:58 +00:00
Whitespace
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -308,9 +308,7 @@ namespace ICD.Common.Utils.Services
|
||||
m_ServicesSection.Enter();
|
||||
|
||||
if (m_Services.ContainsKey(tService))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
m_Services.Add(tService, service);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user