mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Refactor: Clean up Int_ classes
This commit is contained in:
@@ -74,7 +74,7 @@ public class Xoud_bmk_itm_tbl implements Rls_able {
|
||||
int rv = 0;
|
||||
if (rdr.Move_next()) {
|
||||
Object rv_obj = rdr.Read_obj(fld_sort);
|
||||
rv = rv_obj == null ? 0 : Int_.cast(rv_obj) + 1;
|
||||
rv = rv_obj == null ? 0 : Int_.Cast(rv_obj) + 1;
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ public class Xoud_cfg_mgr {
|
||||
}
|
||||
public int Select_int_or(String grp, String key, int or) {
|
||||
String rv = Select_str_or(grp, key, null);
|
||||
return rv == null ? or : Int_.parse_or(rv, or);
|
||||
return rv == null ? or : Int_.Parse_or(rv, or);
|
||||
}
|
||||
public byte[] Select_bry_or(String key, byte[] or) {return Select_bry_or("" , key, or);}
|
||||
public byte[] Select_bry_or(String grp, String key, byte[] or) {
|
||||
|
||||
Reference in New Issue
Block a user