mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Core: Refactor base classes
This commit is contained in:
@@ -40,7 +40,7 @@ public class Xoi_mirror_parser {
|
||||
int len = ary.length;
|
||||
for (int i = len - 1; i > -1; i--) {
|
||||
String itm = ary[i];
|
||||
if (CompareAble_.Is_lessOrSame(itm, comp)) return itm;
|
||||
if (CompareAble_.Is(CompareAble_.Less_or_same, itm, comp)) return itm;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ public class Site_core_tbl implements Db_tbl {
|
||||
try {
|
||||
while (rdr.Move_next()) {
|
||||
Site_core_itm itm = new_itm(rdr);
|
||||
if (itm.Json_date().compareTo(cutoff) == CompareAble_.MoreOrSame) continue; // ignore those downloaded after cutoff date
|
||||
if (itm.Json_date().compareTo(cutoff) == CompareAble_.More_or_same) continue; // ignore those downloaded after cutoff date
|
||||
itm.Json_text_null_();
|
||||
list.Add(itm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user