浏览代码

Remove #nullable enable

David Ullmer 5 年之前
父节点
当前提交
7e91ded587

+ 1 - 3
Jellyfin.Api/Auth/BaseAuthorizationHandler.cs

@@ -1,6 +1,4 @@
-#nullable enable
-
-using System.Net;
+using System.Net;
 using System.Security.Claims;
 using Jellyfin.Api.Helpers;
 using Jellyfin.Data.Enums;

+ 0 - 2
Jellyfin.Api/Auth/CustomAuthenticationHandler.cs

@@ -1,5 +1,3 @@
-#nullable enable
-
 using System.Globalization;
 using System.Security.Authentication;
 using System.Security.Claims;

+ 1 - 3
Jellyfin.Api/Helpers/ClaimHelpers.cs

@@ -1,6 +1,4 @@
-#nullable enable
-
-using System;
+using System;
 using System.Linq;
 using System.Security.Claims;
 using Jellyfin.Api.Constants;