code: private byte[] getResolved() {
      if (path.length == 0)
        return path;
      for (int i = 0; i < path.length; i++) {
        byte c = path[i];
        if (c == (byte) '.')
          return resolve0();
      }
      return path;
    }
docs: Remove DotSlash(./) and resolve DotDot (..) components