Bug 178164 Use IEngineTask.status constants and remove unnecessary status variables in EngineTask.
1)Remove following redundant variables in EngineTask used for status info. protected final int RUNNING_STATUS_START = 0; protected final int RUNNING_STATUS_RUNNING = 1; protected final int RUNNING_STATUS_STOP = 2; EngineTask already has access to constants declared in IEngineTask. Use those instead. 2)Remove the unused errorHandlingOption in EngineTask.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java
import org.eclipse.birt.report.model.api.elements.DesignChoiceConstants;
import com.ibm.icu.util.ULocale;
/**
 * Defines an engine task that could be executed, debugged (runs step by step),
 * inform caller for progress, etc.
 */
public abstract class EngineTask implements IEngineTask
{
	protected static Logger log = Logger
			.getLogger( EngineTask.class.getName( ) );
	
	protected final int RUNNING_STATUS_START = 0;
	protected final int RUNNING_STATUS_RUNNING = 1;
	protected final int RUNNING_STATUS_STOP = 2;
	
	protected static int id = 0;
	protected String pagination;
	protected final static String FORMAT_HTML = "html";
	/**
	 * is cancel called
	 */
	protected boolean cancelFlag;
	protected int runningStatus;
	
	/**
	 * error handling mode.
	 */
	protected int errorHandlingOption = CONTINUE_ON_ERROR;
	
	/**