Author: thomas.heute(a)jboss.com
Date: 2008-06-30 15:03:54 -0400 (Mon, 30 Jun 2008)
New Revision: 11223
Modified:
branches/JBoss_Portal_Branch_2_6/core/src/main/org/jboss/portal/core/impl/api/node/PortalNodeImpl.java
Log:
oups v2.6
Modified:
branches/JBoss_Portal_Branch_2_6/core/src/main/org/jboss/portal/core/impl/api/node/PortalNodeImpl.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core/src/main/org/jboss/portal/core/impl/api/node/PortalNodeImpl.java 2008-06-30
18:56:36 UTC (rev 11222)
+++
branches/JBoss_Portal_Branch_2_6/core/src/main/org/jboss/portal/core/impl/api/node/PortalNodeImpl.java 2008-06-30
19:03:54 UTC (rev 11223)
@@ -301,7 +301,15 @@
String orderProperty1S = (String)node1.getProperties().get(ORDER);
String orderProperty2S = (String)node2.getProperties().get(ORDER);
- if (orderProperty1S != null && orderProperty2S !=null)
+ if (orderProperty1S != null && orderProperty2S == null)
+ {
+ return -1;
+ }
+ else if (orderProperty1S == null && orderProperty2S != null)
+ {
+ return 1;
+ }
+ else if (orderProperty1S != null && orderProperty2S != null)
{
float orderProperty1 = -1;
float orderProperty2 = -1;
Show replies by date