@Override
    public @NotNull URL resolvePath(@NotNull String relativePath, @Nullable URL base) throws MalformedURLException {
      return base == null ? new URL(relativePath) : new URL(base, relativePath);
    }
@Override
    public @NotNull URL resolvePath(@NotNull String relativePath, @Nullable URL base)