[Modify] Polish it

This commit is contained in:
sta 2019-03-31 17:53:30 +09:00
parent 1345efeaff
commit 36217c21a1

View File

@ -233,7 +233,8 @@ namespace WebSocketSharp.Net
private static int compareCookieWithinSort (Cookie x, Cookie y) private static int compareCookieWithinSort (Cookie x, Cookie y)
{ {
return (x.Name.Length + x.Value.Length) - (y.Name.Length + y.Value.Length); return (x.Name.Length + x.Value.Length)
- (y.Name.Length + y.Value.Length);
} }
private static int compareCookieWithinSorted (Cookie x, Cookie y) private static int compareCookieWithinSorted (Cookie x, Cookie y)