public static String trimParameters(@NotNull String url) {
    int end = Strings.indexOfAny(url, URI_SEPARATOR_CHARS);
    return end != -1 ? url.substring(0, end) : url;
  }
public static String trimParameters(@NotNull String url)