Clean up based on .NET Core 3.1 reccomendations

This commit is contained in:
Matt Nadareski
2020-12-14 16:01:28 -08:00
parent 8870e9b287
commit ebd1044454
29 changed files with 130 additions and 222 deletions

View File

@@ -34,7 +34,7 @@ namespace SabreTools.DatFiles
/// <summary>
/// Internal dictionary for the class
/// </summary>
private ConcurrentDictionary<string, List<DatItem>> items;
private readonly ConcurrentDictionary<string, List<DatItem>> items;
/// <summary>
/// Lock for statistics calculation
@@ -44,12 +44,7 @@ namespace SabreTools.DatFiles
/// <summary>
/// Logging object
/// </summary>
private Logger logger;
/// <summary>
/// Static logger for static methods
/// </summary>
private static Logger staticLogger = new Logger();
private readonly Logger logger;
#endregion