Bug 178166 org.eclipse.birt.data has compile error in daily build 20070320
org.eclipse.birt.data has compile error in daily build 20070320. Please see the attachment for details
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/OlapExpressionUtil.java
* @param bindings
	 * @return
	 */
	public static ICubeAggrDefn[] getAggrDefns( List bindings )
	{
		if ( bindings == null || bindings.size( ) == 0 )
			return new ICubeAggrDefn[0];
		
		List cubeAggrDefns = new ArrayList();
		for( Iterator it = bindings.iterator( ); it.hasNext( );)
		{
			IBinding binding = ((IBinding)it.next( ));
			String measure = getMeasure( binding.getExpression( ) );
			if ( measure!= null )
				cubeAggrDefns.add( new CubeAggrDefn( binding.getBindingName( ),
						measure,
						binding.getAggregatOns( ),
						binding.getAggrFunction( ) ) );
		}
		
		ICubeAggrDefn[] result = new ICubeAggrDefn[cubeAggrDefns.size( )];
		for( int i = 0; i < result.length; i ++ )
		{
			result[i] = (ICubeAggrDefn)cubeAggrDefns.get( i );
		}
		
		return result;
	}
	
	private static class CubeAggrDefn implements ICubeAggrDefn