Author: julien(a)jboss.com
Date: 2007-03-19 18:13:35 -0400 (Mon, 19 Mar 2007)
New Revision: 6758
Modified:
trunk/core/src/main/org/jboss/portal/core/model/portal/PortalObjectId.java
Log:
correct impl of PortalObjectId.getLength()
Modified: trunk/core/src/main/org/jboss/portal/core/model/portal/PortalObjectId.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/model/portal/PortalObjectId.java 2007-03-19
22:13:03 UTC (rev 6757)
+++ trunk/core/src/main/org/jboss/portal/core/model/portal/PortalObjectId.java 2007-03-19
22:13:35 UTC (rev 6758)
@@ -131,7 +131,7 @@
public int getLength()
{
- return from - to;
+ return to - from;
}
public String getName(int index)