Bug 321474 Refactor data set editor pages' codes[28816]
Build Identifier: 20100729 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
Iterator resultIter = resultSetColumnHandle.iterator( );
						if ( resultIter != null )
						{
							while ( resultIter.hasNext( ) )
							{
								ResultSetColumnHandle column = (ResultSetColumnHandle) resultIter.next( );
								if ( column.getPosition( ).intValue( ) == n + 1 )
								{
									columnName = column.getColumnName( );
									break;
								}
							}
						}
						if ( columnName == null )
						{
							columnName = ""; 
						}
						columns[n].setName( columnName );
					}
					if ( columns[n].getName( ).equals( hint.getColumnName( ) ) )
					{
						if ( hint.getDisplayNameKey( ) != null )
						{
							columns[n].setExternalizedName( hint.getExternalizedValue( org.eclipse.birt.report.model.api.elements.structures.ComputedColumn.DISPLAY_NAME_ID_MEMBER,
									org.eclipse.birt.report.model.api.elements.structures.ComputedColumn.DISPLAY_NAME_MEMBER,
									hint.getModule( ).getLocale( ) ) );
						}
						columns[n].setDisplayName( hint.getDisplayName( ) );
						columns[n].setDisplayNameKey( hint.getDisplayNameKey( ) );
						columns[n].setAlias( hint.getAlias( ) );