diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-03 22:27:49 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-03 22:27:49 +0100 |
| commit | 76957213e601e8f03c9975707d5e0a22b899207b (patch) | |
| tree | 4b4e165ee2c83702fea98c8f9e5fc767caafea51 /MediaBrowser.Controller/Sorting/SortHelper.cs | |
| parent | 7e3b6768f81c1cef6889bd7c500ba563aa13a67c (diff) | |
| parent | 5276c75cdeb079cd0b24c4b2dc574a584d5817b6 (diff) | |
Merge remote-tracking branch 'upstream/master' into support-injecting-iconfiguration
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; - } - } -} |
