Explorar el Código

Remove redundant type specification

Stepan Goremykin hace 1 año
padre
commit
963d8e66a2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Jellyfin.Networking/Extensions/NetworkExtensions.cs

+ 1 - 1
Jellyfin.Networking/Extensions/NetworkExtensions.cs

@@ -204,7 +204,7 @@ public static partial class NetworkExtensions
         {
             var ipBlock = splitString.Current;
             var address = IPAddress.None;
-            if (negated && ipBlock.StartsWith<char>("!") && IPAddress.TryParse(ipBlock[1..], out var tmpAddress))
+            if (negated && ipBlock.StartsWith("!") && IPAddress.TryParse(ipBlock[1..], out var tmpAddress))
             {
                 address = tmpAddress;
             }