From f0d03cefcbb181b7f4a678e3c91f778eb6c3472a Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 7 Jun 2017 15:10:43 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Ext.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 6ac9a64a..bf72b703 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -194,17 +194,6 @@ namespace WebSocketSharp : null; } - internal static string CheckIfValidServicePath (this string path) - { - return path == null || path.Length == 0 - ? "'path' is null or empty." - : path[0] != '/' - ? "'path' isn't an absolute path." - : path.IndexOfAny (new[] { '?', '#' }) > -1 - ? "'path' includes either or both query and fragment components." - : null; - } - internal static string CheckIfValidSessionID (this string id) { return id == null || id.Length == 0 ? "'id' is null or empty." : null;