[Modify] Polish it

This commit is contained in:
sta 2018-12-15 17:24:52 +09:00
parent e2dab38139
commit 5b08d5358e

View File

@ -406,10 +406,7 @@ namespace WebSocketSharp.Net
private static string urlDecode (string s, Encoding encoding)
{
if (s == null)
return s;
if (s.Length == 0)
return s;
return null;
if (s.IndexOfAny (new[] { '%', '+' }) == -1)
return s;