void (@NotNull RepositoryBrowserComponent browserComponent) { final SvnApplicationSettings settings = SvnApplicationSettings.getInstance(); AddRepositoryLocationDialog dialog = new AddRepositoryLocationDialog(browserComponent.getProject(), settings.getTypedUrlsListCopy()); dialog.setTitle(message("repository.browser.add.location.title")); dialog.setSelected(parseUrl("http:///")); dialog.show(); if (dialog.getExitCode() == DialogWrapper.OK_EXIT_CODE) { Url url = dialog.getSelected(); if (url != null) { settings.addTypedUrl(url.toDecodedString()); settings.addCheckoutURL(url.toDecodedString()); browserComponent.addURL(url); } } }