Skip to content

Commit

Permalink
Small changes on structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Akritas authored and Akritas committed Sep 15, 2016
1 parent 3a2d336 commit c71a823
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/com/maanoo/downloaderm/Main.java
Expand Up @@ -58,7 +58,7 @@ private static void nowindow(String[] args) {
}

if (dtg == null) {
System.out.println("Could parse input");
System.out.println("Could parse input!");
Platform.exit();
return;
}
Expand Down Expand Up @@ -94,13 +94,14 @@ public void onStateChange(DownloadStatus.State state) {

@Override
public void onPauseChange(int id, boolean paused) {
System.out.println((id+1) + " connection " + (paused ? "paused" : "resumed"));
System.out.println((id+1) + " connection " + (paused ? "paused" : "resumed") + ".");
}

@Override
public void onSubDone(int id) {
System.out.println((id+1) + " connection done");
System.out.println((id+1) + " connection done.");
}

});

dtg.start();
Expand Down

0 comments on commit c71a823

Please sign in to comment.