Skip to content

Commit c792cea

Browse files
committed
[Modify] Rename it
1 parent 9dd0d5e commit c792cea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

websocket-sharp/Net/CookieCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ internal IEnumerable<Cookie> Sorted {
8686
get {
8787
var list = new List<Cookie> (_list);
8888
if (list.Count > 1)
89-
list.Sort (compareCookieWithinSorted);
89+
list.Sort (compareForSorted);
9090

9191
return list;
9292
}
@@ -237,7 +237,7 @@ private static int compareForSort (Cookie x, Cookie y)
237237
- (y.Name.Length + y.Value.Length);
238238
}
239239

240-
private static int compareCookieWithinSorted (Cookie x, Cookie y)
240+
private static int compareForSorted (Cookie x, Cookie y)
241241
{
242242
var ret = x.Version - y.Version;
243243
return ret != 0

0 commit comments

Comments
 (0)