1
0
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:
gnosygnu
2017-10-22 08:07:00 -04:00
parent d270cce881
commit 3157551d1d
154 changed files with 609 additions and 577 deletions

View File

@@ -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)

View File

@@ -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);
}
}