[Modify] Rename it

This commit is contained in:
sta 2019-04-01 20:43:17 +09:00
parent 1d0bc61853
commit 9dd0d5e584

View File

@ -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