cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject [PATCH] SlideSource
Date Wed, 23 Apr 2003 19:49:27 GMT
The SlideSource.java in current CVS doesn't compile with the latest
excalibur jars (the release candidate).

Patch that fixes:

@@ -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;
         }
     }

essentially - remove return statements and change return type to void.

/LS


Mime
View raw message