Clean up filter code; detuple

This commit is contained in:
Matt Nadareski
2024-10-24 01:33:41 -04:00
parent c6109fdf97
commit 3b30ed2ebb
10 changed files with 134 additions and 142 deletions

View File

@@ -92,8 +92,7 @@ namespace SabreTools.Filtering
return false;
// Get the parser pair out of it, if possible
(string? type, string? key) = FilterParser.ParseFilterId(field);
if (type == null || key == null)
if (!FilterParser.ParseFilterId(field, out string type, out string key))
return false;
switch (type)