(no commit message)
[utils] / crawler / kiss / src / org / wamblee / crawler / kiss / main / ProgramActionExecutor.java
index c19b6473b04b16e829f0b30a6647d5938f6beb5c..68a4c13dc78da97717f66b33f13241c3bd09b1cb 100644 (file)
@@ -50,7 +50,8 @@ public class ProgramActionExecutor {
 
     /**
      * Constructs the program action executor.
-     * 
+     *
+     * @param aReport Report to use. 
      */
     public ProgramActionExecutor(Report aReport) {
         _showsToRecord = new TreeMap<Integer, Set<Program>>();
@@ -71,7 +72,7 @@ public class ProgramActionExecutor {
         // over the priorities will go from higher priority to lower priority.
         Set<Program> programs = _showsToRecord.get(-aPriority);
         if (programs == null) {
-            programs = new TreeSet<Program>(new Program.TimeSorter());
+            programs = new TreeSet<Program>(new Program.TimeComparator());
             _showsToRecord.put(-aPriority, programs);
         }
         programs.add(aProgram);