Bug 146796 Error message pop up if display text contain non-digital char when add next item
Description: In decimal type parameter creation,display type is "list box", Error message pop up if "display text" contain non-digital char when add next item. Steps: 1.Create a new decimal parameter 2.Set display type as "list box" 3.Input one item: value:1, display text:test 4.Input another item: Value:2 Actual result: error message pop up: The display text already exists! Expected result: Input item succussfully.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
Object v1 = null;
		Object v2 = null;
		try
		{
			v1 = getValue( value1 );
			v2 = getValue( value2 );
		}
		catch ( BirtException e )
		{
		}
		if ( v1 == null )
		{
			return v2 == null;
		}
		if ( v1 instanceof Double && v2 instanceof Double )
		{
			return ( (Double) v1 ).compareTo( v2 ) == 0;
		}
		if ( v1 instanceof BigDecimal && v2 instanceof BigDecimal )
		{
			return ( (BigDecimal) v1 ).compareTo( v2 ) == 0;
		}
		return v1.equals( v2 );
	}
	private Object getValue( String value ) throws BirtException
	{
		if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( getSelectedDataType( ) ) )
		{
			return DataTypeUtil.toBoolean( value );
		}