Преглед на файлове

Remove #nullable enable

David Ullmer преди 5 години
родител
ревизия
7e91ded587
променени са 3 файла, в които са добавени 2 реда и са изтрити 8 реда
  1. 1 3
      Jellyfin.Api/Auth/BaseAuthorizationHandler.cs
  2. 0 2
      Jellyfin.Api/Auth/CustomAuthenticationHandler.cs
  3. 1 3
      Jellyfin.Api/Helpers/ClaimHelpers.cs

+ 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;