Bug 176874 Remove the call to setupRenderOption method from RunTask flow
While going through the report engine code, I noticed that the method setupRenderOption is being called in RunTask.doRun method. setupRenderOption method is used to intialize the render options used to render the report. I understand this is not needed in RunTask flow as we are only running the report.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunTask.java
import org.eclipse.birt.report.engine.api.IReportEngine;
import org.eclipse.birt.report.engine.api.IReportRunnable;
import org.eclipse.birt.report.engine.api.IRunTask;
import org.eclipse.birt.report.engine.emitter.IContentEmitter;
import org.eclipse.birt.report.engine.executor.ReportExecutor;
import org.eclipse.birt.report.engine.i18n.MessageConstants;
import org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder;
/**
 * A task for running a report design to get a report document
 */
public class RunTask extends AbstractRunTask implements IRunTask
{
	private IDocArchiveWriter archive;
	private ReportDocumentWriter writer;
	private IPageHandler pageHandler;
	private ReportDocumentBuilder documentBuilder;
	/**
	 * @param engine
	 *            the report engine
	 * @param runnable
	 *            the report runnable instance
	 */
	public RunTask( IReportEngine engine, IReportRunnable runnable )
	{
		super( engine, runnable, IEngineTask.TASK_RUN );
		executionContext.setFactoryMode( true );
		executionContext.setPresentationMode( false );
	}
	/*
	 * (non-Javadoc)