aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2022-10-07 07:50:39 +0200
committerGitHub <noreply@github.com>2022-10-07 07:50:39 +0200
commit719e5eae16a3488de449a5b2a7c56132c8f1e5c1 (patch)
tree0eb900ce94fb549433274522424dda8617386f4b /Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs
parent9ff918cb142f837bd55e1f87aba3f68f7de295e4 (diff)
parentf5613add1af9e789a7c16f6f631cccd329d5841a (diff)
Merge pull request #8503 from Bond-009/ThrowIfNull
Diffstat (limited to 'Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs')
-rw-r--r--Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs b/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs
index 28ed3894f..bb264d512 100644
--- a/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs
+++ b/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs
@@ -69,8 +69,8 @@ namespace Jellyfin.Server.Infrastructure
/// <inheritdoc />
protected override Task WriteFileAsync(ActionContext context, PhysicalFileResult result, RangeItemHeaderValue? range, long rangeLength)
{
- ArgumentNullException.ThrowIfNull(context, nameof(context));
- ArgumentNullException.ThrowIfNull(result, nameof(result));
+ ArgumentNullException.ThrowIfNull(context);
+ ArgumentNullException.ThrowIfNull(result);
if (range != null && rangeLength == 0)
{