[Modify] Rename it

This commit is contained in:
sta 2019-04-02 21:16:23 +09:00
parent 9dd0d5e584
commit c792ceaefd

View File

@ -86,7 +86,7 @@ namespace WebSocketSharp.Net
get { get {
var list = new List<Cookie> (_list); var list = new List<Cookie> (_list);
if (list.Count > 1) if (list.Count > 1)
list.Sort (compareCookieWithinSorted); list.Sort (compareForSorted);
return list; return list;
} }
@ -237,7 +237,7 @@ namespace WebSocketSharp.Net
- (y.Name.Length + y.Value.Length); - (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; var ret = x.Version - y.Version;
return ret != 0 return ret != 0