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:
@@ -264,7 +264,7 @@ public class XomwBlockLevelPass {
|
||||
if (o == null)
|
||||
preCur++;
|
||||
else {
|
||||
int pre_tid = Int_.cast(o);
|
||||
int pre_tid = Int_.Cast(o);
|
||||
if (pre_tid == PRE_BGN)
|
||||
preOpenMatch = true;
|
||||
else if (pre_tid == PRE_END)
|
||||
|
||||
@@ -82,7 +82,7 @@ public class XomwSiteList extends XomwGenericArrayObject { public int Len() {ret
|
||||
Ordered_hash ids = site.getNavigationIds();
|
||||
int len = ids.Len();
|
||||
for (int i = 0; i < len; i++) {
|
||||
int navId = Int_.cast(ids.Get_at(i));
|
||||
int navId = Int_.Cast(ids.Get_at(i));
|
||||
this.byNavigationId.Add(navId, index);
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ public class XomwSiteList extends XomwGenericArrayObject { public int Len() {ret
|
||||
Ordered_hash ids = site.getNavigationIds();
|
||||
int len = ids.Len();
|
||||
for (int i = 0; i < len; i++) {
|
||||
int navId = Int_.cast(ids.Get_at(i));
|
||||
int navId = Int_.Cast(ids.Get_at(i));
|
||||
XophpArray.unset(this.byNavigationId, navId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user