Bug 160193 Parameter name is changed with data type
Steps to reproduce: 1.New a sample data source 2.New a data set with below query: select * from CLASSICMODELS.CUSTOMERS where CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER = ? 3.Switch to parameters in data set editor, a parameter is created automatically 4.Double click the parameter, click "..." button behind the "Linked to report parameter", note the default name of report parameter is "param1". Click "cancel" to destory "new parameter dialog" 5.Change data set paramter type to Any, and click "..." again Expected result: Default name of report parameter is "param1" Actual result: Default name of report parameter is changed to "NewParameter1"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignSession.java
/**
 * Represents a design session for a user of the application based on the Design
 * Engine. Tracks the user's set of open designs, the user's locale, the
 * application units and so on. Also provides methods for opening and creating
 * designs.
 * <p>
 * <code>DesignSession</code> allows to specify customized resource locator to
 * search a file. This resource locator must be set before opening any
 * <code>ReportDesign</code>, so for example, when encountering a library tag
 * in the design file, the parser needs to know where to get the library file by
 * this resource locator, the code in the parser might be like the following.
 * 
 * @see org.eclipse.birt.report.model.api.SessionHandle
 */
public class DesignSession
{
	/**
	 * Resource path.
	 */
	protected String resourceFolder = null;
	/**
	 * The algorithm of how to search a file.
	 */
	protected IResourceLocator resourceLocator = new DefaultResourceLocator( );
	/**
	 * Static resource path to do the compability of some APIs.
	 */
	protected static String resourcePath = null;
	/**
	 * The algorithm of how to provide the absolute dimension value for the