You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by lu...@apache.org on 2004/07/26 14:37:50 UTC

cvs commit: jakarta-slide/src/stores/org/apache/slide/store/mem VersionedUriKey.java

luetzkendorf    2004/07/26 05:37:50

  Modified:    src/stores/org/apache/slide/store/mem VersionedUriKey.java
  Log:
  hasCode method changed
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-slide/src/stores/org/apache/slide/store/mem/VersionedUriKey.java
  
  Index: VersionedUriKey.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/stores/org/apache/slide/store/mem/VersionedUriKey.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- VersionedUriKey.java	21 Jul 2004 17:36:29 -0000	1.1
  +++ VersionedUriKey.java	26 Jul 2004 12:37:50 -0000	1.2
  @@ -50,7 +50,7 @@
      }
      public int hashCode()
      {
  -      return (uri.hashCode() + version.hashCode());
  +      return (uri.hashCode() ^ version.hashCode());
      }
      public String toString()
      {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org