Bug 322347 Refactor data set editor pages' codes[29949]
Build Identifier: 20100810 Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/DataSetProvider.java
for ( int i = 0; i < inputDataSets.size( ); i++ )
			{
				hint = findColumnHint( inputDataSets.get( i ), columnName );
				if ( hint != null )
				{
					return hint;
				}
			}
		}
		return null;
	}
	/**
	 * To rollback original datasetHandle, clean unused resultset columm
	 * 
	 * @param dataSetHandle
	 * @param dsItemModel
	 */
	private void cleanUnusedResultSetColumn( DataSetHandle dataSetHandle,
			DataSetViewData[] dsItemModel )
	{
		PropertyHandle handle = dataSetHandle.getPropertyHandle( DataSetHandle.RESULT_SET_PROP );
		if ( handle != null && handle.getListValue( ) != null )
		{
			ArrayList list = handle.getListValue( );
			int count = list.size( );
			for ( int n = count - 1; n >= 0; n-- )
			{
				ResultSetColumn rsColumn = (ResultSetColumn) list.get( n );
				String columnName = (String) rsColumn.getColumnName( );
				boolean found = false;