@NotNull
  private static String removeSlashes(@NotNull String s) {
    return UriUtil.trimLeadingSlashes(UriUtil.trimTrailingSlashes(s));
  }
@NotNull
  private static String removeSlashes(@NotNull String s)