Bug 206279 Removed computed cols listed in expression builder[07]
Description: Removed computed column listed in expression builder inside DataSet Editor dialog Build number:2.2.2.v20071011 Steps to reproduce: 1. New data source and dataset. 2. Add a computed column in dataset and click OK. 3. Open the dataset, remove the computed column. 4. Add a new computed column and check columns in available Data Sets. Expected result: The removed computed column isn't there. Actual result: The removed computed column is still there for selection. Error log:n/a
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/DataSetProvider.java
IQueryResults resultSet ) throws BirtException
	{
		
		IResultMetaData metaData = resultSet.getResultMetaData( );
		
		int columnCount = 0;
		if ( metaData != null )
			columnCount = metaData.getColumnCount( );
		DataSetViewData[] columns = new DataSetViewData[columnCount];
		
		
		
		
		HashSet orgColumnNameSet = new HashSet( );
		
		HashSet uniqueColumnNameSet = new HashSet( );
		for ( int n = 0; n < columns.length; n++ )
		{
			orgColumnNameSet.add( metaData.getColumnName( n + 1 ) );
		}
		for ( int n = 0; n < columns.length; n++ )
		{
			columns[n] = new DataSetViewData( );
			columns[n].setParent( dataSet );
			columns[n].setDataType( metaData.getColumnType( n + 1 ) );
			columns[n].setDataTypeName( metaData.getColumnTypeName( n + 1 ) );
			columns[n].setPosition( n + 1 );
			columns[n].setAlias( metaData.getColumnAlias( n + 1 ) );
			columns[n].setComputedColumn( metaData.isComputedColumn( n + 1 ) );
			String columnName = metaData.getColumnName( n + 1 );