jakarta-slide-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-slide/src/share/org/apache/slide/content ContentImpl.java
Date Fri, 05 Jan 2001 17:41:41 GMT
remm        01/01/05 09:41:41

  Modified:    src/share/org/apache/slide/content ContentImpl.java
  Log:
  - Found another spot where the descriptor was stored before the content.
  
  Revision  Changes    Path
  1.16      +7 -8      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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ContentImpl.java	2001/01/04 13:30:21	1.15
  +++ ContentImpl.java	2001/01/05 17:41:41	1.16
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/ContentImpl.java,v
1.15 2001/01/04 13:30:21 remm Exp $
  - * $Revision: 1.15 $
  - * $Date: 2001/01/04 13:30:21 $
  + * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/ContentImpl.java,v
1.16 2001/01/05 17:41:41 remm Exp $
  + * $Revision: 1.16 $
  + * $Date: 2001/01/05 17:41:41 $
    *
    * ====================================================================
    *
  @@ -77,7 +77,7 @@
    * Implementation of the content interface.
    * 
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
  - * @version $Revision: 1.15 $
  + * @version $Revision: 1.16 $
    */
   public final class ContentImpl implements Content {
       
  @@ -1018,16 +1018,15 @@
           revisionDescriptors
               .setLatestRevision(newRevisionDescriptor.getBranchName(),
                                  newRevisionDescriptor.getRevisionNumber());
  -        // Now creating the revision desriptor in the store
  -        objectUri.getStore()
  -            .createRevisionDescriptor(objectUri, newRevisionDescriptor);
  -        
           if (revisionContent != null) {
               // Storing the new revision contents
               objectUri.getStore()
                   .createRevisionContent(objectUri, newRevisionDescriptor, 
                                          revisionContent);
           }
  +        // Now creating the revision desriptor in the store
  +        objectUri.getStore()
  +            .createRevisionDescriptor(objectUri, newRevisionDescriptor);
           
           // We now store the updated revision descriptors
           try {
  
  
  

Mime
View raw message