ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/java/installer2/src/net/oni2/aeinstaller/DepotPackageCheck.java
(Generate patch)

Comparing AE/installer2/src/net/oni2/aeinstaller/DepotPackageCheck.java (file contents):
Revision 603 by alloc, Thu Jan 10 16:25:51 2013 UTC vs.
Revision 634 by alloc, Sat Jan 19 11:58:17 2013 UTC

# Line 3 | Line 3 | package net.oni2.aeinstaller;
3   import java.util.HashMap;
4   import java.util.HashSet;
5  
6 import net.oni2.aeinstaller.backend.depot.DepotCacheUpdateProgressListener;
6   import net.oni2.aeinstaller.backend.depot.DepotConfig;
7   import net.oni2.aeinstaller.backend.depot.DepotManager;
8   import net.oni2.aeinstaller.backend.depot.model.Node;
# Line 20 | Line 19 | public class DepotPackageCheck {
19           */
20          public static void main(String[] args) {
21                  System.out.println("Reading Depot data:");
22 <                DepotManager.getInstance().updateInformation(false,
24 <                                new DepotCacheUpdateProgressListener() {
25 <
26 <                                        @Override
27 <                                        public void cacheUpdateProgress(String stepName,
28 <                                                        int current, int total) {
29 <                                                System.out.format("%50s", "");
30 <                                                System.out.format("\rStep %2d / %2d - %s", current,
31 <                                                                total, stepName);
32 <                                        }
33 <                                });
22 >                DepotManager.getInstance().updateInformation(false);
23                  System.out.println("\nReading done");
24                  System.out.println();
25                  DepotManager.getInstance().printStats();

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)