Removed redundant Collection Initializers

Removed Using directives that are not required
This commit is contained in:
Sven Van den brande
2016-07-29 21:18:03 +02:00
parent 74f511b2ee
commit 219cba7506
86 changed files with 36 additions and 195 deletions

View File

@@ -278,8 +278,7 @@ namespace MediaBrowser.Server.Implementations.Library
}
var preferredSubs = string.IsNullOrEmpty(user.Configuration.SubtitleLanguagePreference)
? new List<string> { }
: new List<string> { user.Configuration.SubtitleLanguagePreference };
? new List<string>() : new List<string> { user.Configuration.SubtitleLanguagePreference };
var defaultAudioIndex = source.DefaultAudioStreamIndex;
var audioLangage = defaultAudioIndex == null