[Modify] Polish it
This commit is contained in:
parent
28684d8bdf
commit
48ce156442
@ -103,7 +103,6 @@ namespace WebSocketSharp.Net
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public Cookie ()
|
public Cookie ()
|
||||||
{
|
{
|
||||||
_comment = String.Empty;
|
|
||||||
_domain = String.Empty;
|
_domain = String.Empty;
|
||||||
_expires = DateTime.MinValue;
|
_expires = DateTime.MinValue;
|
||||||
_name = String.Empty;
|
_name = String.Empty;
|
||||||
@ -286,11 +285,11 @@ namespace WebSocketSharp.Net
|
|||||||
/// </value>
|
/// </value>
|
||||||
public string Comment {
|
public string Comment {
|
||||||
get {
|
get {
|
||||||
return _comment;
|
return _comment ?? String.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
set {
|
set {
|
||||||
_comment = value ?? String.Empty;
|
_comment = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user