mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Perform mass cleanup
This is cleanup based on both new .NET functionality (in 6 and 7) as well as a ton of simplifications and things that were missed that were caught due to the cleanup.
This commit is contained in:
@@ -65,7 +65,7 @@ namespace SabreTools.Filtering
|
||||
if (fields == null || fields.Count == 0)
|
||||
return;
|
||||
|
||||
InternalStopwatch watch = new InternalStopwatch("Populating removals from list");
|
||||
InternalStopwatch watch = new("Populating removals from list");
|
||||
|
||||
foreach (string field in fields)
|
||||
{
|
||||
@@ -102,7 +102,7 @@ namespace SabreTools.Filtering
|
||||
if (DatHeaderRemover == null && DatItemRemover == null)
|
||||
return;
|
||||
|
||||
InternalStopwatch watch = new InternalStopwatch("Applying removals to DAT");
|
||||
InternalStopwatch watch = new("Applying removals to DAT");
|
||||
|
||||
// Remove DatHeader fields
|
||||
if (DatHeaderRemover != null && DatHeaderRemover.DatHeaderFields.Any())
|
||||
|
||||
Reference in New Issue
Block a user