You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2001/07/02 04:28:11 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/app Velocity.java
geirm 01/07/01 19:28:11
Modified: src/java/org/apache/velocity/app Velocity.java
Log:
Documentation bug. The init() routines don't return anything... thanks
to Li Xiaoli-a17351 <a1...@motorola.com>
Revision Changes Path
1.19 +1 -7 jakarta-velocity/src/java/org/apache/velocity/app/Velocity.java
Index: Velocity.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/app/Velocity.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- Velocity.java 2001/05/18 12:01:43 1.18
+++ Velocity.java 2001/07/02 02:28:10 1.19
@@ -108,7 +108,7 @@
* @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
* @author <a href="Christoph.Reck@dlr.de">Christoph Reck</a>
* @author <a href="jvanzyl@apache.org">Jason van Zyl</a>
- * @version $Id: Velocity.java,v 1.18 2001/05/18 12:01:43 geirm Exp $
+ * @version $Id: Velocity.java,v 1.19 2001/07/02 02:28:10 geirm Exp $
*/
public class Velocity implements RuntimeConstants
@@ -116,8 +116,6 @@
/**
* initialize the Velocity runtime engine, using the default
* properties of the Velocity distribution
- *
- * @return true if successful, false otherwise
*/
public static void init()
throws Exception
@@ -131,9 +129,6 @@
*
* @param propsFilename file containing properties to use to initialize
* the Velocity runtime
- *
- * @return true if successful, false otherwise. Check runtime log if
- * false
*/
public static void init( String propsFilename )
throws Exception
@@ -147,7 +142,6 @@
*
* @param p Proprties object containing initialization properties
*
- * @return true if successful, false otherwise
*/
public static void init( Properties p )
throws Exception