Merge pull request #734 from Bond-009/culture

Fix more analyzer warnings
This commit is contained in:
Joshua M. Boniface
2019-01-31 21:11:13 -05:00
committed by GitHub
49 changed files with 285 additions and 256 deletions

View File

@@ -104,7 +104,7 @@ namespace MediaBrowser.Model.Entities
attributes.Add("Default");
}
return string.Join(" ", attributes.ToArray());
return string.Join(" ", attributes);
}
if (Type == MediaStreamType.Video)
@@ -120,10 +120,10 @@ namespace MediaBrowser.Model.Entities
if (!string.IsNullOrEmpty(Codec))
{
attributes.Add(Codec.ToUpper());
attributes.Add(Codec.ToUpperInvariant());
}
return string.Join(" ", attributes.ToArray());
return string.Join(" ", attributes);
}
if (Type == MediaStreamType.Subtitle)