Bug 200755 [smoke]Fail to preview Crosstab after deploy BIRT in application servers.[0601][1102]
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ServiceForQueryResults.java
defn.setRound( calculateRound );
						defn.setCalculateLevel( ((Integer)aggrRefGroupLevelMap.get( name )).intValue( ) );
						aggrDefnsCopy.remove( defn );
						removedNames.add( defn );
					}	
				}
				
				for( int i = 0; i < removedNames.size( ); i++ )
				{
					aggrRefMap.remove( ((IAggrInfo)removedNames.get( i )).getName( ) );
				}
				for( Iterator it = aggrRefMap.values( ).iterator( ); it.hasNext();)
				{
					Set temp = (Set)it.next( );
					temp.removeAll( removedNames );
				}
			}
		}
		/**
		 * Popualte a binding name <--> binding map.
		 * @param aggrDefns
		 * @return
		 */
		private Map populateBindingNameMap( List aggrDefns )
		{
			Map nameMap = new HashMap( );
			for ( int i = 0; i < aggrDefns.size( ); i++ )
			{
				IAggrInfo aggrDefn = (IAggrInfo) aggrDefns.get( i );
				nameMap.put( aggrDefn.getName( ), aggrDefn );