Merge pull request #4644 from jellyfin/minor9

Minor improvements
This commit is contained in:
Claus Vium
2020-12-03 08:00:44 +01:00
committed by GitHub
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);