- Timestamp:
- Jan 20, 2013, 3:01:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/backend/mods/download/ModDownloader.java
r605 r638 28 28 */ 29 29 INTERRUPTED, 30 /** 31 * When the last file was downloaded and only unpacking is left 32 */ 33 LAST_FILE_DOWNLOADED, 30 34 /** 31 35 * Everything completed … … 69 73 if ((state == State.RUNNING) && (currentDownload < downloads.size())) { 70 74 downloads.get(currentDownload).start(); 75 }else if (state == State.RUNNING) { 76 state = State.LAST_FILE_DOWNLOADED; 77 notifyListener(); 71 78 } else { 72 79 notifyListener(); … … 75 82 76 83 private int getTimeElapsed() { 77 int total = (int) (new Date().getTime() - startMS) 78 / 1000; 84 int total = (int) (new Date().getTime() - startMS) / 1000; 79 85 return total; 80 86 }
Note:
See TracChangeset
for help on using the changeset viewer.