[Modify] Polish it
This commit is contained in:
@@ -361,14 +361,8 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
set {
|
set {
|
||||||
if (value.IsNullOrEmpty ()) {
|
_domain = value ?? String.Empty;
|
||||||
_domain = String.Empty;
|
ExactDomain = _domain.Length == 0 || _domain[0] != '.';
|
||||||
ExactDomain = true;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
_domain = value;
|
|
||||||
ExactDomain = value[0] != '.';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user