From f3e1a6a19a8fb4daa19f7c3f2bfb183a224914e3 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 14 Jan 2025 14:23:10 -0500 Subject: [PATCH] Remove unused SortAndGetKey variant --- SabreTools.DatFiles/ItemDictionaryDB.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/SabreTools.DatFiles/ItemDictionaryDB.cs b/SabreTools.DatFiles/ItemDictionaryDB.cs index 68d05a7f..b3155a00 100644 --- a/SabreTools.DatFiles/ItemDictionaryDB.cs +++ b/SabreTools.DatFiles/ItemDictionaryDB.cs @@ -1175,22 +1175,6 @@ namespace SabreTools.DatFiles return true; } - /// - /// Sort the input DAT and get the key to be used by the item - /// - /// Item to try to match - /// True if the DAT is already sorted accordingly, false otherwise (default) - /// Key to try to use - private string SortAndGetKey(DatItem datItem, bool sorted = false) - { - // If we're not already sorted, take care of it - if (!sorted) - BucketBy(GetBestAvailable(), DedupeType.None); - - // Now that we have the sorted type, we get the proper key - return datItem.GetKeyDB(_bucketedBy, null, null); - } - /// /// Sort the input DAT and get the key to be used by the item ///