From c792ceaefd76c95268c7b74b0ada3e0771d9b56f Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 2 Apr 2019 21:16:23 +0900 Subject: [PATCH] [Modify] Rename it --- websocket-sharp/Net/CookieCollection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Net/CookieCollection.cs b/websocket-sharp/Net/CookieCollection.cs index 5ab8b759..e76770d7 100644 --- a/websocket-sharp/Net/CookieCollection.cs +++ b/websocket-sharp/Net/CookieCollection.cs @@ -86,7 +86,7 @@ namespace WebSocketSharp.Net get { var list = new List (_list); if (list.Count > 1) - list.Sort (compareCookieWithinSorted); + list.Sort (compareForSorted); return list; } @@ -237,7 +237,7 @@ namespace WebSocketSharp.Net - (y.Name.Length + y.Value.Length); } - private static int compareCookieWithinSorted (Cookie x, Cookie y) + private static int compareForSorted (Cookie x, Cookie y) { var ret = x.Version - y.Version; return ret != 0