{
final ReportRenderContext context1 = context.getReportRenderContext(i);
if (context1 == rendererContext)
{
context.setActiveDocument(rendererContext);
rendererContext.onDocumentActivated();
return;
}
}
if (context.getReportRenderContextCount() > 0)