aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Sorting/SortHelper.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-04-01 18:53:22 +0200
committerBond_009 <bond.009@outlook.com>2020-04-01 18:53:22 +0200
commit787049f35f849c5eb013ec8588068055c351e074 (patch)
treebf6a0ba6c1e5fdba81363a8cde604f5930c70793 /MediaBrowser.Controller/Sorting/SortHelper.cs
parente699e5d405792a598fdf6d0e723db52555af0492 (diff)
parent58900bb57e2a0dc4ca3505fe9e21419b9cf84a37 (diff)
Merge branch 'master' into minor
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;
- }
- }
-}