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 re...@locus.apache.org on 2000/11/22 20:15:50 UTC

cvs commit: jakarta-slide/src/share/org/apache/slide/content ContentImpl.java

remm        00/11/22 11:15:49

  Modified:    src/share/org/apache/slide/content ContentImpl.java
  Log:
  - After updating a revision, use the revision descriptor we just updated.
    Thanks to Juergen Pill for the patch.
  
  Revision  Changes    Path
  1.7       +5 -4      jakarta-slide/src/share/org/apache/slide/content/ContentImpl.java
  
  Index: ContentImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/ContentImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ContentImpl.java	2000/11/19 04:18:36	1.6
  +++ ContentImpl.java	2000/11/22 19:15:48	1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/ContentImpl.java,v 1.6 2000/11/19 04:18:36 remm Exp $
  - * $Revision: 1.6 $
  - * $Date: 2000/11/19 04:18:36 $
  + * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/ContentImpl.java,v 1.7 2000/11/22 19:15:48 remm Exp $
  + * $Revision: 1.7 $
  + * $Date: 2000/11/22 19:15:48 $
    *
    * ====================================================================
    *
  @@ -77,7 +77,7 @@
    * Implementation of the content interface.
    * 
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
    */
   public final class ContentImpl implements Content {
       
  @@ -388,6 +388,7 @@
                       objectUri.getStore()
                           .storeRevisionDescriptor(objectUri, 
                                                    oldRevisionDescriptor);
  +                    revisionDescriptor = oldRevisionDescriptor;
                   } catch (RevisionDescriptorNotFoundException e) {
                       // Should NEVER happen.
                       // Basically, it would mean that there is no initial