cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From step...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/slide/java/org/apache/cocoon/components/source/impl SlideSource.java
Date Thu, 24 Apr 2003 09:42:00 GMT
stephan     2003/04/24 02:42:00

  Modified:    src/blocks/slide/java/org/apache/cocoon/components/source/impl
                        SlideSource.java
  Log:
  Update SlideSource for the latest sourceresolve package.
  
  Revision  Changes    Path
  1.6       +2 -4      cocoon-2.1/src/blocks/slide/java/org/apache/cocoon/components/source/impl/SlideSource.java
  
  Index: SlideSource.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/slide/java/org/apache/cocoon/components/source/impl/SlideSource.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SlideSource.java	4 Apr 2003 17:14:33 -0000	1.5
  +++ SlideSource.java	24 Apr 2003 09:41:59 -0000	1.6
  @@ -662,13 +662,12 @@
        *
        * @return True, if the delete operation was successful.
        */
  -    public boolean delete() {
  +    public void delete() {
           try {
               nat.begin();
               this.macro.delete(slideToken,
                                 this.config.getFilesPath()+this.path);
               nat.commit();
  -            return true;
           } catch (Exception se) {
               getLogger().error("Could not delete source.",se);
               try {
  @@ -676,7 +675,6 @@
               } catch (Exception rbe) {
                   getLogger().error("Rollback failed for moving source", rbe);
               }
  -            return false;
           }
       }
   
  
  
  

Mime
View raw message