git://wamblee.org
/
utils
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
07c8348
)
(no commit message)
author
erik
<erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Fri, 31 Mar 2006 09:17:45 +0000
(09:17 +0000)
committer
erik
<erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Fri, 31 Mar 2006 09:17:45 +0000
(09:17 +0000)
crawler/kiss/src/org/wamblee/crawler/kiss/guide/Program.java
patch
|
blob
|
history
crawler/kiss/src/org/wamblee/crawler/kiss/main/ProgramActionExecutor.java
patch
|
blob
|
history
crawler/kiss/src/org/wamblee/crawler/kiss/main/Report.java
patch
|
blob
|
history
diff --git
a/crawler/kiss/src/org/wamblee/crawler/kiss/guide/Program.java
b/crawler/kiss/src/org/wamblee/crawler/kiss/guide/Program.java
index 9f63ac4e1f6ca3477999846d56c6ed3c86b1a65a..3d6065f5b401677c790b5a7d815cb2be1c35792a 100644
(file)
--- a/
crawler/kiss/src/org/wamblee/crawler/kiss/guide/Program.java
+++ b/
crawler/kiss/src/org/wamblee/crawler/kiss/guide/Program.java
@@
-52,7
+52,7
@@
public class Program {
* Lexicographical comparison of programs based on (time, title, channel).
*
*/
* Lexicographical comparison of programs based on (time, title, channel).
*
*/
- public static class Time
Sorte
r implements Comparator<Program> {
+ public static class Time
Comparato
r implements Comparator<Program> {
/**
* Lexicographical comparison based on start time, program name, and
/**
* Lexicographical comparison based on start time, program name, and
diff --git
a/crawler/kiss/src/org/wamblee/crawler/kiss/main/ProgramActionExecutor.java
b/crawler/kiss/src/org/wamblee/crawler/kiss/main/ProgramActionExecutor.java
index c19b6473b04b16e829f0b30a6647d5938f6beb5c..fae06bda35ea10189da41d60e9ce48f6c7691ed5 100644
(file)
--- a/
crawler/kiss/src/org/wamblee/crawler/kiss/main/ProgramActionExecutor.java
+++ b/
crawler/kiss/src/org/wamblee/crawler/kiss/main/ProgramActionExecutor.java
@@
-71,7
+71,7
@@
public class ProgramActionExecutor {
// over the priorities will go from higher priority to lower priority.
Set<Program> programs = _showsToRecord.get(-aPriority);
if (programs == null) {
// 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.Time
Sorte
r());
+ programs = new TreeSet<Program>(new Program.Time
Comparato
r());
_showsToRecord.put(-aPriority, programs);
}
programs.add(aProgram);
_showsToRecord.put(-aPriority, programs);
}
programs.add(aProgram);
diff --git
a/crawler/kiss/src/org/wamblee/crawler/kiss/main/Report.java
b/crawler/kiss/src/org/wamblee/crawler/kiss/main/Report.java
index 8401477365decdf980bceb4795c2af6e49e4074f..a3d75fea0bc0b4d72177031825f4387516bb8e05 100644
(file)
--- a/
crawler/kiss/src/org/wamblee/crawler/kiss/main/Report.java
+++ b/
crawler/kiss/src/org/wamblee/crawler/kiss/main/Report.java
@@
-67,7
+67,7
@@
public class Report {
RecordingResult.class);
for (RecordingResult result : RecordingResult.values()) {
_recordings.put(result, new TreeSet<Program>(
RecordingResult.class);
for (RecordingResult result : RecordingResult.values()) {
_recordings.put(result, new TreeSet<Program>(
- new Program.Time
Sorte
r()));
+ new Program.Time
Comparato
r()));
}
_messages = new ArrayList<String>();
}
}
_messages = new ArrayList<String>();
}
@@
-109,7
+109,7
@@
public class Report {
LOG.info("category = '" + aCategory + "', program: " + aProgram);
Set<Program> programs = _interestingShows.get(aCategory);
if (programs == null) {
LOG.info("category = '" + aCategory + "', program: " + aProgram);
Set<Program> programs = _interestingShows.get(aCategory);
if (programs == null) {
- programs = new TreeSet<Program>(new Program.Time
Sorte
r());
+ programs = new TreeSet<Program>(new Program.Time
Comparato
r());
_interestingShows.put(aCategory, programs);
}
programs.add(aProgram);
_interestingShows.put(aCategory, programs);
}
programs.add(aProgram);