Bug 203909 If a parameter have no default value, the value of parameter in computed column should not be "null"[07]
Description: If a parameter have no default value, the value of parameter in computed column should not be "null"[07] Build number: 2.2.1.v20070918-0630 Steps to reproduce: 1, New a String type parameter and left the default value empty 2, New a Dataset and new a computed column 3, Specify the expression to params["parameterName"] 4, Preview in dataset Expected result: The value should not be "null" but blank Actual result: The value of computed column is "null"
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/script/DataAdapterTopLevelScope.java
assert false;
			return null;
		}
		
		int typeNum = DataType.ANY_TYPE;
		if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) )
			typeNum = DataType.STRING_TYPE;
		else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( type ) )
			typeNum = DataType.DOUBLE_TYPE;
		else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( type ) )
			typeNum = DataType.DECIMAL_TYPE;
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) )
			typeNum = DataType.DATE_TYPE;
		else if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( type ) )
			typeNum = DataType.BOOLEAN_TYPE;
		else if ( DesignChoiceConstants.PARAM_TYPE_INTEGER.equals( type ) )
			typeNum = DataType.INTEGER_TYPE;
		try
		{
			return DataTypeUtil.convert( defaultValue, typeNum );
		}
		catch ( BirtException e )
		{
			return null;
		}
	}
    	
}