Bug 197586 Compile error occurs in org.eclipse.birt.data in daily build 20070724-0630
Compile error occurs in org.eclipse.birt.data in daily build 20070724-0630. Please see the attachment for details.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQueryUtil.java
* @return
	 * @throws DataException
	 */
	private static boolean isTwoBindingEqual( IBinding b1, IBinding b2 )
			throws DataException
	{
		if ( !isTwoExpressionEqual( b1.getExpression( ), b2.getExpression( ) ) )
			return false;
		if ( !isTwoStringEqual( b1.getAggrFunction( ), b2.getAggrFunction( ) ) )
			return false;
		if ( b1.getDataType( ) != b2.getDataType( ) )
			return false;
		if ( !isTwoExpressionEqual( b1.getFilter( ), b2.getFilter( ) ) )
			return false;
		if ( b1.getAggregatOns( ).size( ) != b2.getAggregatOns( ).size( ) )
			return false;
		for ( int i = 0; i < b1.getAggregatOns( ).size( ); i++ )
		{
			if ( !isTwoStringEqual( b1.getAggregatOns( ).get( i ).toString( ),
					b2.getAggregatOns( ).get( i ).toString( ) ) )
				return false;
		}
		if ( b1.getArguments( ).size( ) != b2.getArguments( ).size( ) )
			return false;
		for ( int i = 0; i < b1.getArguments( ).size( ); i++ )
		{
			if ( !isTwoExpressionEqual( (IBaseExpression) b1.getArguments( )
					.get( i ), (IBaseExpression) b2.getArguments( ).get( i ) ) )
				return false;
		}