ParameterDefnBase paraBase = (ParameterDefnBase) iter.next();
ParameterDefnBase pBase = (ParameterDefnBase) iter.next();
	public Collection getParameterDefns(boolean includeParameterGroups)	{		Collection original = ((ReportRunnable)runnable).getParameterDefns(includeParameterGroups);		Iterator iter = original.iterator();				// Clone parameter definitions, fill in locale and report dsign information		params = new ArrayList();				while (iter.hasNext())		{			ParameterDefnBase paraBase = (ParameterDefnBase) iter.next();			try			{				params.add(paraBase.clone());			}			catch (CloneNotSupportedException e)			{				log.log(Level.SEVERE, e.getMessage(), e);			}		}				if (params != null)		{			iter = params.iterator();			while (iter.hasNext())			{				IParameterDefnBase pBase = (IParameterDefnBase) iter.next();				if (pBase instanceof ScalarParameterDefn) 				{					((ScalarParameterDefn)pBase).setReportDesign(runnable.getDesignHandle().getDesign());					((ScalarParameterDefn)pBase).setLocale(locale);					((ScalarParameterDefn)pBase).evaluateSelectionList();				}				else if (pBase instanceof ParameterGroupDefn)				{					Iterator iter2 = ((ParameterGroupDefn) pBase).getContents().iterator();					while (iter2.hasNext())					{						IParameterDefnBase p = (IParameterDefnBase) iter2.next();						if (p instanceof ScalarParameterDefn) 						{							((ScalarParameterDefn)p).setReportDesign(runnable.getDesignHandle().getDesign());							((ScalarParameterDefn)p).setLocale(locale);								((ScalarParameterDefn)pBase).evaluateSelectionList();						}					}				}			}		}		return params;	}