Fan.Sys.Uri.Sections.normalizeScheme C# (CSharp) Method

normalizeScheme() private method

private normalizeScheme ( int p ) : void
p int
return void
            private void normalizeScheme(int p)
            {
                // port 80 -> null
                if (port != null && port.longValue() == p) port = null;

                // if path is "" -> "/"
                if (pathStr == null || pathStr.Length == 0)
                {
                  pathStr = FanStr.m_ascii['/'];
                  if (path == null) path = emptyPath();
                }
            }