[
https://issues.jboss.org/browse/GTNPORTAL-3322?focusedWorklogId=12430416&...
]
Trong Tran logged work on GTNPORTAL-3322:
-----------------------------------------
Author: Trong Tran
Created on: 18/Dec/13 4:00 AM
Start Date: 18/Dec/13 4:00 AM
Worklog Time Spent: 1 hour
Issue Time Tracking
-------------------
Remaining Estimate: 3 hours (was: 4 hours)
Time Spent: 1 hour
Worklog Id: (was: 12430416)
Improvements of handling of <priority> in navigation.xml
--------------------------------------------------------
Key: GTNPORTAL-3322
URL:
https://issues.jboss.org/browse/GTNPORTAL-3322
Project: GateIn Portal
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Peter Palaga
Assignee: Peter Palaga
Fix For: 3.7.0.Final
Original Estimate: 4 hours
Time Spent: 1 hour
Remaining Estimate: 3 hours
This is followup of GTNPORTAL-2751, GTNPORTAL-3324 and GTNPORTAL-3350.
(1) Introduce {{PageNavigation.UNDEFINED_PRIORITY}} constant and use it instead of {{-1}}
literal as {{PageNavigation.priority}} value.
(2) {{UNDEFINED_PRIORITY}} and its usage should be described in comments.
(3) Fix the comparator in
[
UserPortalImpl|https://github.com/gatein/gatein-portal/blob/master/compon...]
as it does not impose a total ordering as required by the Comparator interface: "The
implementor must ensure that sgn(compare(x, y)) == -sgn(compare(y, x)) for
all x and y." This does not hold when comparing two nodes both having priority -1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira