From 9dd0d5e584afe36072b7a32461bee3fc96e5908f Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 1 Apr 2019 20:43:17 +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 5a258095..5ab8b759 100644 --- a/websocket-sharp/Net/CookieCollection.cs +++ b/websocket-sharp/Net/CookieCollection.cs @@ -231,7 +231,7 @@ namespace WebSocketSharp.Net _list[idx] = cookie; } - private static int compareCookieWithinSort (Cookie x, Cookie y) + private static int compareForSort (Cookie x, Cookie y) { return (x.Name.Length + x.Value.Length) - (y.Name.Length + y.Value.Length); @@ -482,7 +482,7 @@ namespace WebSocketSharp.Net internal void Sort () { if (_list.Count > 1) - _list.Sort (compareCookieWithinSort); + _list.Sort (compareForSort); } #endregion