Apply suggestions from code review

Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
Vasily
2020-02-27 16:02:18 +03:00
committed by GitHub
parent 8e20d2e931
commit d1670f8180
2 changed files with 3 additions and 3 deletions

View File

@@ -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++;