You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Stefan Hepper <st...@hursley.ibm.com> on 2003/12/01 17:56:56 UTC
Re: Bug in Pluto's portal
Thanks Viktor,
right, that's a bug, fixed now.
Stefan
Viktor Malytskyy wrote:
> Hi!
>
> It seems that there is a bug in
> \src\portal\org\apache\pluto\portalImpl\om\window\impl\PortletWindowListImpl.java.
> This class implements PortletWindowList interface which defines a method
> iterator().
> /**
> * Returns all *_portlet windows_* as iterator
> * The return value cannot be NULL.
> *
> * @return An iterator containing <CODE>PortletWindow</CODE> objects
> */
> But in PortletWindowListImpl.java this method returns an iterator
> containing Map.Entry objects.
> public java.util.Iterator iterator() {
>
> return windows.entrySet().iterator();
> }
>
> Probably it should be changed to windows.*_values()_*.iterator();
>
> Please, correct me if I'm wrong.
>
> Regards,
> Viktor
>
>
>