Bug 161385 Redundant display text occour when preview a parameter
Redundant display text occour when preview a parameter Steps to reproduce: 1.new a boolean parameter 2.set "combo box" display type and "list of value" to static 3.new a parameter and display text "false" ,value "0" 4.drag the parameter to the layout 5.preview Expected result: there's only "false" displayed in parameter dialogue Actual result: there are "false" and "0"
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/DataUtil.java
{
		Object obj = null;
		try
		{
			
			obj = ParameterValidationUtil.validate( dataType, format, value,
					locale );
		}
		catch ( ValidationValueException e1 )
		{
			
			format = null;
			if ( DesignChoiceConstants.PARAM_TYPE_DATETIME
					.equalsIgnoreCase( dataType ) )
			{
				format = ParameterValidationUtil.DEFAULT_DATETIME_FORMAT;
			}
			obj = ParameterValidationUtil.validate( dataType, format, value );
		}
		return obj;
	}
	/**
	 * Gets the display string for the value with default locale and default
	 * format, The value must be the valid data type. That is:
	 * 
	 * <ul>
	 * <li>if data type is <code>PARAM_TYPE_DATETIME</code>, then the value
	 * must be <code>java.util.Date<code>.</li>
	 * <li>if the data type is <code>PARAM_TYPE_FLOAT</code>, then the value must
	 * be <code>java.lang.Double</code>.</li>