[Modify] Polish it

This commit is contained in:
sta 2016-12-30 16:00:26 +09:00
parent 93196a0230
commit 8d370374e2

View File

@ -556,10 +556,10 @@ namespace WebSocketSharp
internal static bool IsReserved (this CloseStatusCode code) internal static bool IsReserved (this CloseStatusCode code)
{ {
return code == CloseStatusCode.Undefined || return code == CloseStatusCode.Undefined
code == CloseStatusCode.NoStatus || || code == CloseStatusCode.NoStatus
code == CloseStatusCode.Abnormal || || code == CloseStatusCode.Abnormal
code == CloseStatusCode.TlsHandshakeFailure; || code == CloseStatusCode.TlsHandshakeFailure;
} }
internal static bool IsSupported (this byte opcode) internal static bool IsSupported (this byte opcode)