if (gotMetadata) {
// da is in prepared state (i.e. we consumed all bytes up to metadata end).
// However, it's not safe to assume delegate won't call da.reset() for some reason,
// and we need to ensure predictable result.
int offset = metadata.dataOffset(revisionNumber);
data = new FilterDataAccess(data, offset, data.length() - offset);
}
delegate.next(revisionNumber, actualLen, baseRevision, linkRevision, parent1Revision, parent2Revision, nodeid, data);
}
} catch (IOException ex) {
recordFailure(ex);