Skip to content

Commit c591a2f

Browse files
committed
Merge branch 'back-to-bgtask-and-cancellable' of https://github.com/rage/tmc-netbeans into back-to-bgtask-and-cancellable
2 parents 7a35381 + 2c33d89 commit c591a2f

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

tmc-plugin/src/fi/helsinki/cs/tmc/actions/DownloadExercisesAction.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ public DownloadExercisesAction(List<Exercise> exercisesToOpen) {
5454
}
5555

5656
public void run() {
57-
// final AggregatingBgTaskListener<TmcProjectInfo> aggregator
58-
// = new AggregatingBgTaskListener<TmcProjectInfo>(exercisesToDownload.size(), whenAllDownloadsFinished);
59-
6057
for (final Exercise exercise : exercisesToDownload) {
6158
startDownloading(exercise, whenDownloadsFinished);
6259
}

tmc-plugin/src/fi/helsinki/cs/tmc/ui/DownloadOrUpdateExercisesDialog.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,8 @@ private void updateSelectAllButtonState() {
126126
}
127127

128128
private void doDownloadAndUpdate(List<Exercise> toDownload, List<Exercise> toUpdate) {
129-
// try {
130129
new DownloadExercisesAction(toDownload).run();
131130
new UpdateExercisesAction(toUpdate).run();
132-
// } catch (TmcCoreException ex) {
133-
// Exceptions.printStackTrace(ex);
134-
// ConvenientDialogDisplayer.getDefault()
135-
// .displayError("Failed to download exercises.\n" + ServerErrorHelper.getServerExceptionMsg(ex));
136-
// }
137131
}
138132

139133
/**

0 commit comments

Comments
 (0)