Fix more analyzer warnings

This commit is contained in:
Bond_009
2019-01-27 12:03:43 +01:00
parent ee89236fe8
commit a709cbdc64
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)