if (id <= 0)
throw new IllegalArgumentException(MessageFormat.format("Expected value of type integer > 0 for parameter ''{0}'', got {1}", "id", id));
if (monitor == null) {
monitor = NullProgressMonitor.INSTANCE;
}
ChangesetDataSet result = null;
try {
monitor.beginTask(tr("Downloading changeset content"));
StringBuilder sb = new StringBuilder();
sb.append("changeset/").append(id).append("/download");
try (InputStream in = getInputStream(sb.toString(), monitor.createSubTaskMonitor(1, true))) {