You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/05/27 05:37:14 UTC

svn commit: r178735 - /lenya/trunk/src/java/org/apache/lenya/cms/ant/TestTask.java

Author: gregor
Date: Thu May 26 20:37:13 2005
New Revision: 178735

URL: http://svn.apache.org/viewcvs?rev=178735&view=rev
Log:
Shortened exception handling

Modified:
    lenya/trunk/src/java/org/apache/lenya/cms/ant/TestTask.java

Modified: lenya/trunk/src/java/org/apache/lenya/cms/ant/TestTask.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/ant/TestTask.java?rev=178735&r1=178734&r2=178735&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/ant/TestTask.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/ant/TestTask.java Thu May 26 20:37:13 2005
@@ -18,11 +18,9 @@
 
 import org.apache.avalon.framework.service.ServiceManager;
 import org.apache.lenya.cms.publication.Document;
-import org.apache.lenya.cms.publication.DocumentManager;
 import org.apache.lenya.cms.publication.DocumentType;
 import org.apache.lenya.cms.publication.DocumentTypeResolver;
 import org.apache.lenya.cms.publication.Publication;
-import org.apache.lenya.cms.site.SiteManager;
 import org.apache.tools.ant.BuildException;
 
 /**
@@ -48,7 +46,7 @@
             log(message);
             System.out.println(message);
         }
-        catch (Exception e) {
+        catch (final Exception e) {
             throw new BuildException(e);
         }
         finally {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org