in src/main/java/com/googlesource/gerrit/plugins/download/command/GitDownloadCommand.java [91:98]
private static boolean isValidUrl(String url) {
try {
new URIish(url);
return true;
} catch (URISyntaxException e) {
return false;
}
}