aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Sorting/SortHelper.cs
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-03-11 23:04:47 +0100
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-03-11 23:04:47 +0100
commit99bf6edba27c48db6094d1364a7175a0af9158b5 (patch)
tree87ea497716c6e92ae9b7e3cfc540256350b05430 /MediaBrowser.Controller/Sorting/SortHelper.cs
parentd437950ac30ee294ab275362abe711ae3c14ac32 (diff)
parent008a76cf4d7f04eee2f0e1b8d135ea835d7ec7e2 (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.cs25
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;
- }
- }
-}