CurtHagenlocher commented on code in PR #285:
URL: https://github.com/apache/arrow-dotnet/pull/285#discussion_r3531435617


##########
src/Apache.Arrow.Flight/Middleware/Extensions/CookieExtensions.cs:
##########
@@ -30,11 +30,11 @@ public static IEnumerable<Cookie> ParseHeader(this string 
setCookieHeader)
 
         var cookies = new List<Cookie>();
 
-        var segments = setCookieHeader.Split([';'], 
StringSplitOptions.RemoveEmptyEntries);
+        var segments = setCookieHeader.Split(new[] { ';' }, 
StringSplitOptions.RemoveEmptyEntries);

Review Comment:
   I don't specifically have a preference for the newer collection syntax, but 
I don't see any reason to change it to the older one.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to