Przeglądaj źródła

Merge "Better way to handle relative URLs in manifest XML"

tags/v3.5.0.201409071800-rc1
Dave Borowitz 10 lat temu
rodzic
commit
c8ddac2a86

+ 2
- 2
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java Wyświetl plik

} }
final String remoteUrl; final String remoteUrl;
try { try {
URI uri = new URI(String.format("%s/%s/", baseUrl, remotes.get(defaultRemote))); //$NON-NLS-1$
remoteUrl = uri.normalize().toString();
URI uri = new URI(baseUrl);
remoteUrl = uri.resolve(remotes.get(defaultRemote)).toString();
} catch (URISyntaxException e) { } catch (URISyntaxException e) {
throw new SAXException(e); throw new SAXException(e);
} }

Ładowanie…
Anuluj
Zapisz