Index] + 1;
  int portStart = indices[_portStartIndex];
  int pathStart = indices[_pathStartIndex];
  int queryStart = indices[_queryStartIndex];
  int fragmentStart = indices[_fragmentStartIndex];

  &#47;&#47; We may discover scheme while handling special cases.
  String scheme;

  &#47;&#47; Derive some positions that weren&#39;t set to normalize the indices.
  &#47;&#47; If pathStart isn&#39;t set (it&#39;s before scheme end or host start), then
  &#47;&#47; the path is empty.
  if (fragmentStart &lt; q