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
{
		if ( paramsProp != null )
			return paramsProp;
		assert designModule != null;
		Map parameters = new HashMap( );
		List paramsList = designModule.getAllParameters( );
		for ( int i = 0; i < paramsList.size( ); i++ )
		{
			Object parameterObject = paramsList.get( i );
			if ( parameterObject instanceof ScalarParameterHandle )
			{
				Object value = getParamDefaultValue( parameterObject );
				parameters.put( ( (ScalarParameterHandle) parameterObject ).getQualifiedName( ),
						new DummyParameterAttribute( value, "" ) );
			}
		}
		paramsProp = new ReportParameters( parameters, this );
		return paramsProp;
	}
	
    
	/**
	 * Gets the default value of a parameter. If a usable default value is
	 * defined, use it; otherwise use a default value appropriate for the data
	 * type
	 */
	private Object getParamDefaultValue( Object params )
	{
		if ( !( params instanceof ScalarParameterHandle ) )
			return null;