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 we...@apache.org on 2004/07/13 22:57:48 UTC
cvs commit: jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/portlet/impl PortletDefinitionImpl.java
weaver 2004/07/13 13:57:48
Modified: components/registry/src/java/org/apache/jetspeed/om/portlet/impl
PortletDefinitionImpl.java
Log:
Made equals and hashCode use the same logic
Revision Changes Path
1.13 +2 -1 jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/portlet/impl/PortletDefinitionImpl.java
Index: PortletDefinitionImpl.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/portlet/impl/PortletDefinitionImpl.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- PortletDefinitionImpl.java 18 Jun 2004 20:46:00 -0000 1.12
+++ PortletDefinitionImpl.java 13 Jul 2004 20:57:48 -0000 1.13
@@ -497,6 +497,7 @@
hasher.append(name);
if (app != null)
{
+ hasher.append(getId().toString());
hasher.append(app.getName());
}
return hasher.toHashCode();
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org