aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.Controller/Entities/BaseItem.cs2
-rw-r--r--MediaBrowser.Controller/Sorting/AlphanumComparator.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index 09cdfc9ea..66de080a3 100644
--- a/MediaBrowser.Controller/Entities/BaseItem.cs
+++ b/MediaBrowser.Controller/Entities/BaseItem.cs
@@ -392,7 +392,7 @@ namespace MediaBrowser.Controller.Entities
var thisChunk = new StringBuilder();
bool isNumeric = char.IsDigit(thisCh);
- while ((thisMarker < s1.Length) && (char.IsDigit(thisCh) == isNumeric))
+ while (thisMarker < s1.Length && char.IsDigit(thisCh) == isNumeric)
{
thisChunk.Append(thisCh);
thisMarker++;
diff --git a/MediaBrowser.Controller/Sorting/AlphanumComparator.cs b/MediaBrowser.Controller/Sorting/AlphanumComparator.cs
index ad1eaf7bf..65dc120ca 100644
--- a/MediaBrowser.Controller/Sorting/AlphanumComparator.cs
+++ b/MediaBrowser.Controller/Sorting/AlphanumComparator.cs
@@ -33,7 +33,7 @@ namespace MediaBrowser.Controller.Sorting
var thatChunk = new StringBuilder();
bool thisNumeric = char.IsDigit(thisCh), thatNumeric = char.IsDigit(thatCh);
- while ((thisMarker < s1.Length) && (char.IsDigit(thisCh) == thisNumeric))
+ while (thisMarker < s1.Length && char.IsDigit(thisCh) == thisNumeric)
{
thisChunk.Append(thisCh);
thisMarker++;
@@ -44,7 +44,7 @@ namespace MediaBrowser.Controller.Sorting
}
}
- while ((thatMarker < s2.Length) && (char.IsDigit(thatCh) == thatNumeric))
+ while (thatMarker < s2.Length && char.IsDigit(thatCh) == thatNumeric)
{
thatChunk.Append(thatCh);
thatMarker++;