You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/10/08 23:08:46 UTC
cvs commit: jakarta-turbine-3/src/java/org/apache/turbine/modules Module.java
dlr 01/10/08 14:08:46
Modified: src/java/org/apache/turbine/modules Module.java
Log:
In this method, the try/catch block is used similarly to an if/else,
so the else case should be inside the catch block (rather than after
it).
Revision Changes Path
1.5 +2 -2 jakarta-turbine-3/src/java/org/apache/turbine/modules/Module.java
Index: Module.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-3/src/java/org/apache/turbine/modules/Module.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -u -r1.4 -r1.5
--- Module.java 2001/09/14 18:02:54 1.4
+++ Module.java 2001/10/08 21:08:46 1.5
@@ -68,7 +68,7 @@
* render content.
*
* @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
- * @version $Id: Module.java,v 1.4 2001/09/14 18:02:54 dlr Exp $
+ * @version $Id: Module.java,v 1.5 2001/10/08 21:08:46 dlr Exp $
*/
public class Module
{
@@ -194,8 +194,8 @@
}
catch (Exception e)
{
+ return null;
}
- return null;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org