[Modify] Polish it

This commit is contained in:
sta 2022-02-07 21:15:29 +09:00
parent 0b89630484
commit 21e813c343

View File

@ -1441,10 +1441,7 @@ namespace WebSocketSharp
var len = value.Length; var len = value.Length;
if (len < 2) return len > 1 ? value[0] == c && value[len - 1] == c : false;
return false;
return value[0] == c && value[len - 1] == c;
} }
/// <summary> /// <summary>