On Fri, Aug 14, 2009 at 12:10 PM, Jörn Kottmann<kottm...@gmail.com> wrote:
> The javadoc says these methods return a List of ProcessingResourceMetaData
> objects.
> Inside the private method getMetaDataList, objects which do not have the
> ProcessingResourceMetaData
> type are added to the list. That can be seen in line 1749, there a
> CasInitializerDescription object is added
> to the list.
>
Linke 1749 is:
        mdList.add(((CasInitializerDescription) current).getMetaData().clone());

It doesn't add the CasInitializerDescription to the list - it adds the
result of getMetaData(), which is of type ProcesingResourceMetaData.

 -Adam

Reply via email to