Bug 153391 Some Options in Edit Parameter dialog haven't been saved.
Description: Some Options in Edit Parameter dialog haven't been saved. Steps to reproduce: 1. new a parameter, boolean type, tick AllowNUll and sort alphabetically... 2. Close the dialog and reopen it. 3. new a parameter, string, combo-box, tick AllowNull. 4. Close the dialog and reopen it. Expected result: Ticked options' status are saved Actual result: After reopen parameter dialog, options are unticked.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
return v2 == null;
		}
		if ( v1 instanceof Double && v2 instanceof Double )
		{
			return ( (Double) v1 ).compareTo( (Double) v2 ) == 0;
		}
		if ( v1 instanceof BigDecimal && v2 instanceof BigDecimal )
		{
			return ( (BigDecimal) v1 ).compareTo( (BigDecimal) v2 ) == 0;
		}
		if ( v1 instanceof Integer && v2 instanceof Integer )
		{
			return ( (Integer) v1 ).compareTo( (Integer) v2 ) == 0;
		}
		return v1.equals( v2 );
	}
	private Object getValue( String value ) throws BirtException
	{
		if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( getSelectedDataType( ) ) )
		{
			return DataTypeUtil.toBoolean( value );
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( getSelectedDataType( ) ) )
		{
			return DataTypeUtil.toBigDecimal( value );
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( getSelectedDataType( ) ) )
		{
			return DataTypeUtil.toDate( value, ULocale.US );
		}