[Modify] Polish it

This commit is contained in:
sta 2019-02-05 21:26:48 +09:00
parent 0dc64a8a02
commit 820fa050a7

View File

@ -755,7 +755,11 @@ namespace WebSocketSharp.Net
internal string ToResponseString ()
{
return _name.Length > 0
? (_version == 0 ? toResponseStringVersion0 () : toResponseStringVersion1 ())
? (
_version == 0
? toResponseStringVersion0 ()
: toResponseStringVersion1 ()
)
: String.Empty;
}