[Modify] Polish it

This commit is contained in:
sta 2019-11-21 20:06:49 +09:00
parent 52811924d1
commit 6d85802bda

View File

@ -257,7 +257,10 @@ namespace WebSocketSharp.Net
/// </exception> /// </exception>
public WebHeaderCollection Headers { public WebHeaderCollection Headers {
get { get {
return _headers ?? (_headers = new WebHeaderCollection (HttpHeaderType.Response, false)); if (_headers == null)
_headers = new WebHeaderCollection (HttpHeaderType.Response, false);
return _headers;
} }
set { set {