if (requiresRedo(loggable, page)) {
if (ph.getLsn() != Page.NO_PAGE && requiresRedo(loggable, page)) {
    protected void redoAddLink(AddLinkLoggable loggable) {        DOMPage page = getCurrentPage(loggable.pageNum);        DOMFilePageHeader ph = page.getPageHeader();        if (requiresRedo(loggable, page)) {            ByteConversion.shortToByte(ItemId.setIsLink(loggable.tid),                    page.data, page.len);            page.len += 2;            ByteConversion.longToByte(loggable.link, page.data, page.len);            page.len += 8;            page.setDirty(true);            ph.setNextTID(ItemId.getId(loggable.tid));            ph.setDataLength(page.len);            ph.setLsn(loggable.getLsn());            ph.incRecordCount();            dataCache.add(page);        }    }