diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2022-10-07 09:04:41 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2022-10-07 09:16:02 +0200 |
| commit | 7b90fcd0531e1fd414df404b58f2f05b0641be01 (patch) | |
| tree | 9cb45933f68308a9dca1e6217318742f3ef7f9d6 /MediaBrowser.Controller/IO/FileData.cs | |
| parent | bd9a940fed129d99fe9ffedafec324e795549c90 (diff) | |
| parent | 719e5eae16a3488de449a5b2a7c56132c8f1e5c1 (diff) | |
Merge branch 'master' into network-rewrite
Diffstat (limited to 'MediaBrowser.Controller/IO/FileData.cs')
| -rw-r--r-- | MediaBrowser.Controller/IO/FileData.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/IO/FileData.cs b/MediaBrowser.Controller/IO/FileData.cs index 2429ac42d..71feae536 100644 --- a/MediaBrowser.Controller/IO/FileData.cs +++ b/MediaBrowser.Controller/IO/FileData.cs @@ -40,10 +40,7 @@ namespace MediaBrowser.Controller.IO throw new ArgumentNullException(nameof(path)); } - if (args == null) - { - throw new ArgumentNullException(nameof(args)); - } + ArgumentNullException.ThrowIfNull(args); var entries = directoryService.GetFileSystemEntries(path); |
