提交 a55550da authored 作者: Thomas Mueller's avatar Thomas Mueller

Removed unused code

上级 d55355a3
...@@ -224,24 +224,6 @@ public class Page { ...@@ -224,24 +224,6 @@ public class Page {
return children[index].pos; return children[index].pos;
} }
/**
* Get the child page at the given index, if it is live.
*
* @param index the child index
* @return the page, or null if the chunk is not live
*/
public Page getLiveChildPage(int index) {
PageReference ref = children[index];
if (ref.page != null) {
return ref.page;
}
int chunkId = DataUtils.getPageChunkId(ref.pos);
if (!map.store.isChunkLive(chunkId)) {
return null;
}
return getChildPage(index);
}
/** /**
* Get the value at the given index. * Get the value at the given index.
* *
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论