Changeset 741 for java/installer2/src/net/oni2/aeinstaller/backend/depot
- Timestamp:
- Mar 24, 2013, 5:09:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/backend/depot/DepotManager.java
r708 r741 24 24 import net.oni2.aeinstaller.backend.depot.model.TaxonomyTerm; 25 25 import net.oni2.aeinstaller.backend.depot.model.TaxonomyVocabulary; 26 import net.oni2. aeinstaller.backend.network.FileDownloader;26 import net.oni2.httpfiledownloader.FileDownloader; 27 27 28 28 import org.apache.http.HttpResponse; … … 73 73 + (new Date().getTime() / 1000), zipName); 74 74 fd.start(); 75 while (fd.getState() != net.oni2.aeinstaller.backend.network.FileDownloader.EState.FINISHED) {75 while (fd.getState() != FileDownloader.EState.FINISHED) { 76 76 Thread.sleep(50); 77 77 } … … 318 318 } 319 319 320 /**321 * Print stats about nodes and files322 */323 public void printStats() {324 System.out.println("Nodes by type:");325 for (String t : nodesByType.keySet()) {326 System.out.println(" " + t + ": " + nodesByType.get(t).size());327 }328 329 System.out.println("Files: " + files.size());330 }331 332 320 private static XStream getXStream() { 333 321 XStream xs = new XStream(new StaxDriver());
Note:
See TracChangeset
for help on using the changeset viewer.