Bug 166315 Combo box doesn't allow blank when set string type in parameter editor
Combo box doesn't allow blank when set string type in parameter editor Steps to reproduce: 1.New a parameter, display type is Combo Box 2.Select data type as String Expected result: "Allow blank values" is enable. Actual result: "Allow blank values" is gray and can't be checked.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
}
		return null;
	}
	private boolean isEqual( String value1, String value2 )
	{
		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( (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;