Simplify the verbose comments in Duplicate

This commit is contained in:
Matt Nadareski
2025-01-21 12:00:38 -05:00
parent e62c14d1b7
commit 229987ce44
2 changed files with 2 additions and 6 deletions

View File

@@ -391,10 +391,8 @@ namespace SabreTools.DatFiles
// Get the possibly unsorted list // Get the possibly unsorted list
List<DatItem> sortedList = GetItemsForBucket(key); List<DatItem> sortedList = GetItemsForBucket(key);
// Sort the list of items to be consistent // Sort and merge the list
Sort(ref sortedList, false); Sort(ref sortedList, false);
// Merge the items
sortedList = DatFileTool.Merge(sortedList); sortedList = DatFileTool.Merge(sortedList);
// Add the list back to the dictionary // Add the list back to the dictionary

View File

@@ -694,10 +694,8 @@ namespace SabreTools.DatFiles
// Get the possibly unsorted list // Get the possibly unsorted list
List<KeyValuePair<long, DatItem>> sortedList = [.. GetItemsForBucket(key)]; List<KeyValuePair<long, DatItem>> sortedList = [.. GetItemsForBucket(key)];
// Sort the list of items to be consistent // Sort and merge the list
Sort(ref sortedList, false); Sort(ref sortedList, false);
// Merge the items
sortedList = Merge(sortedList); sortedList = Merge(sortedList);
// Get all existing mappings // Get all existing mappings