[Modify] Rename it
This commit is contained in:
parent
1d0bc61853
commit
9dd0d5e584
@ -231,7 +231,7 @@ namespace WebSocketSharp.Net
|
|||||||
_list[idx] = cookie;
|
_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)
|
return (x.Name.Length + x.Value.Length)
|
||||||
- (y.Name.Length + y.Value.Length);
|
- (y.Name.Length + y.Value.Length);
|
||||||
@ -482,7 +482,7 @@ namespace WebSocketSharp.Net
|
|||||||
internal void Sort ()
|
internal void Sort ()
|
||||||
{
|
{
|
||||||
if (_list.Count > 1)
|
if (_list.Count > 1)
|
||||||
_list.Sort (compareCookieWithinSort);
|
_list.Sort (compareForSort);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user