You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Matthew Forsyth <an...@yahoo.com> on 2002/10/04 21:51:55 UTC
PATCH: BasePorletSet.java (very minor)
Attached is a minor modification to
BasePortletSet.java...
in the sortPortlets() method, it now uses
java.util.Collections.sort() instead of interpreting
the position of each portlet as the exact index of an
array.
This only makes a difference if the portlets in a
portletSet all have positive positions specified, but
those positions don't go smoothly from 0-n. Formerly
such situation would result in an
indexOutOfBoundsException; now it simply sorts the
portlets in order of their position #'s.
Minor, I know, but I needed it for my version of
jetspeed & I can't think of a disadvantage... it
definitely shouldn't break anything.
-matt forsyth, seawave
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>