[Modify] Polish it
This commit is contained in:
parent
ffd331db74
commit
577e510c90
@ -609,13 +609,6 @@ namespace WebSocketSharp.Net
|
||||
}
|
||||
|
||||
internal set {
|
||||
if (value.IsNullOrEmpty ()) {
|
||||
_port = value;
|
||||
_ports = null;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (!value.IsEnclosedIn ('"')) {
|
||||
var msg = "It is not enclosed in double quotes.";
|
||||
throw new ArgumentException (msg, "value");
|
||||
|
Loading…
Reference in New Issue
Block a user