LinkedList resultSetIDs = (LinkedList) mapQueryIDToResultSetIDs
List resultSetIDs = (List)mapQueryIDToResultSetIDs
	protected IResultSet doExecute( IBaseQueryDefinition query )	{		assert query instanceof IQueryDefinition;		String queryID = (String) queryIDMap.get( query );		try		{			IQueryResults queryResults = null;			DteResultSet parentResult = (DteResultSet) getParentResultSet( );			if ( parentResult != null )			{				queryResults = parentResult.getQueryResults( );			}			DteResultSet resultSet = null;			String resultSetID = null;			if ( queryResults == null )			{				LinkedList resultSetIDs = (LinkedList) mapQueryIDToResultSetIDs						.get( queryID );				if ( resultSetIDs != null && !resultSetIDs.isEmpty( ) )				{					resultSetID = (String) resultSetIDs.get( 0 );				}			}			else			{				String rowid = "" + parentResult.getCurrentPosition( );				resultSetID = getResultID( queryResults.getID( ), rowid );			}			if ( resultSetID == null )			{				logger.log( Level.SEVERE, "Can't load the report query" );				return null;			}			queryResults = dataEngine.getQueryResults( resultSetID );			validateQueryResult( queryResults );			resultSet = new DteResultSet( queryResults, this, context );			queryResultStack.addLast( resultSet );			return resultSet;		}		catch ( BirtException be )		{			logger.log( Level.SEVERE, be.getMessage( ) );			context.addException( be );			return null;		}	}