mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +00:00
fix: Resolving warning
This commit is contained in:
@@ -21,7 +21,7 @@ namespace ICD.Common.Utils.Csv
|
||||
/// <summary>
|
||||
/// If the first row in the file is a header row, this will be populated
|
||||
/// </summary>
|
||||
public string[] Headers;
|
||||
private string[] m_Headers;
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -39,11 +39,11 @@ namespace ICD.Common.Utils.Csv
|
||||
// Do we need to parse headers?
|
||||
if (m_Settings.HeaderRowIncluded)
|
||||
{
|
||||
Headers = NextLine();
|
||||
m_Headers = NextLine();
|
||||
}
|
||||
else
|
||||
{
|
||||
Headers = m_Settings.AssumedHeaders != null ? m_Settings.AssumedHeaders.ToArray() : null;
|
||||
m_Headers = m_Settings.AssumedHeaders != null ? m_Settings.AssumedHeaders.ToArray() : null;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user