[Modify] Polish it

This commit is contained in:
sta 2020-09-06 21:49:17 +09:00
parent aecd6ffef5
commit 6f56255cca

View File

@ -196,12 +196,6 @@ namespace WebSocketSharp.Net
throw new ArgumentException (msg, "uriPrefix");
}
if (root == -1) {
var msg = "Ends without '/'.";
throw new ArgumentException (msg, "uriPrefix");
}
if (uriPrefix[len - 1] != '/') {
var msg = "Ends without '/'.";