diff options
| author | Andrew Rabert <6550543+nvllsvm@users.noreply.github.com> | 2019-01-04 17:40:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-04 17:40:44 -0500 |
| commit | e4a041b8321e49fd9b21fb0f890caf23d4752212 (patch) | |
| tree | 7e4be1c765afd026350f9c450264747b6adf4eca /MediaBrowser.Api/BaseApiService.cs | |
| parent | 72ee4b189d35606ae60b1717ba5b318680025627 (diff) | |
| parent | 340a2c651276d911285a6ff09944c5eba2384a51 (diff) | |
Merge pull request #283 from Bond-009/gpl-cleanup
Post GPL cleanup
Diffstat (limited to 'MediaBrowser.Api/BaseApiService.cs')
| -rw-r--r-- | MediaBrowser.Api/BaseApiService.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Api/BaseApiService.cs b/MediaBrowser.Api/BaseApiService.cs index 07b8185c5..ed31cbd1d 100644 --- a/MediaBrowser.Api/BaseApiService.cs +++ b/MediaBrowser.Api/BaseApiService.cs @@ -55,12 +55,11 @@ namespace MediaBrowser.Api return Request.Headers[name]; } - private static readonly string[] EmptyStringArray = Array.Empty<string>(); public static string[] SplitValue(string value, char delim) { if (string.IsNullOrWhiteSpace(value)) { - return EmptyStringArray; + return Array.Empty<string>(); } return value.Split(new[] { delim }, StringSplitOptions.RemoveEmptyEntries); |
