mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Simplify the verbose comments in Duplicate
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user