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/08/17 16:16:00 UTC

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

luetzkendorf    2004/08/17 07:16:00

  Modified:    src/stores/org/apache/slide/store/mem Tag:
                        SLIDE_2_1_RELEASE_BRANCH VersionedUriKey.java
  Log:
  fix for missing version number (occurs with auto-create-users)
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.3.2.1   +8 -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.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- VersionedUriKey.java	28 Jul 2004 09:34:05 -0000	1.3
  +++ VersionedUriKey.java	17 Aug 2004 14:16:00 -0000	1.3.2.1
  @@ -36,7 +36,11 @@
      VersionedUriKey(Uri uri, NodeRevisionNumber number) 
      {
         this.uri = uri.toString();
  -      this.version = number.toString();
  +      if (number == null) {
  +          this.version = "null";
  +      } else {
  +          this.version = number.toString();
  +      }
      }
      public boolean equals(Object obj)
      {
  
  
  

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