diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-11 23:04:47 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-11 23:04:47 +0100 |
| commit | 99bf6edba27c48db6094d1364a7175a0af9158b5 (patch) | |
| tree | 87ea497716c6e92ae9b7e3cfc540256350b05430 /MediaBrowser.Controller/Sorting/SortHelper.cs | |
| parent | d437950ac30ee294ab275362abe711ae3c14ac32 (diff) | |
| parent | 008a76cf4d7f04eee2f0e1b8d135ea835d7ec7e2 (diff) | |
Merge remote-tracking branch 'upstream/master' into support-running-without-web-content
Diffstat (limited to 'MediaBrowser.Controller/Sorting/SortHelper.cs')
| -rw-r--r-- | MediaBrowser.Controller/Sorting/SortHelper.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/MediaBrowser.Controller/Sorting/SortHelper.cs b/MediaBrowser.Controller/Sorting/SortHelper.cs deleted file mode 100644 index 05981d975..000000000 --- a/MediaBrowser.Controller/Sorting/SortHelper.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace MediaBrowser.Controller.Sorting -{ - public static class SortHelper - { - private enum ChunkType { Alphanumeric, Numeric }; - - public static bool InChunk(char ch, char otherCh) - { - var type = ChunkType.Alphanumeric; - - if (char.IsDigit(otherCh)) - { - type = ChunkType.Numeric; - } - - if ((type == ChunkType.Alphanumeric && char.IsDigit(ch)) - || (type == ChunkType.Numeric && !char.IsDigit(ch))) - { - return false; - } - - return true; - } - } -} |
