Minor improvements

This commit is contained in:
Bond_009
2020-12-02 15:38:52 +01:00
parent 3b4f86579b
commit e4fd61411f
15 changed files with 48 additions and 75 deletions

View File

@@ -47,7 +47,7 @@ namespace MediaBrowser.Model.Dlna
public static bool ContainsContainer(string profileContainers, string inputContainer)
{
var isNegativeList = false;
if (profileContainers != null && profileContainers.StartsWith("-", StringComparison.Ordinal))
if (profileContainers != null && profileContainers.StartsWith('-'))
{
isNegativeList = true;
profileContainers = profileContainers.Substring(1);