[Modify] Polish it

This commit is contained in:
sta 2017-03-01 16:24:25 +09:00
parent 97581e57a4
commit 0a06117e04

View File

@ -1972,7 +1972,9 @@ namespace WebSocketSharp
/// </param> /// </param>
public static string UrlEncode (this string value) public static string UrlEncode (this string value)
{ {
return value != null && value.Length > 0 ? HttpUtility.UrlEncode (value) : value; return value != null && value.Length > 0
? HttpUtility.UrlEncode (value)
: value;
} }
/// <summary> /// <summary>