getProgressMonitor().setCustomText(tr("({0}/{1}) Downloading content for changeset {2}...", i, toDownload.size(), id));
ChangesetDataSet ds = reader.downloadChangeset(id, getProgressMonitor().createSubTaskMonitor(0, false));
synchronized(this) {
reader = null;
}
Changeset cs = ChangesetCache.getInstance().get(id);
cs.setContent(ds);
ChangesetCache.getInstance().update(cs);
downloadedChangesets.add(cs);
getProgressMonitor().worked(1);
}
} catch(OsmTransferCanceledException e) {