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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to