You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by dl...@apache.org on 2002/08/09 02:54:53 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime RuntimeInstance.java
dlr 2002/08/08 17:54:53
Modified: src/java/org/apache/velocity/runtime RuntimeInstance.java
Log:
More header JavaDoc clean up. RuntimeSingleton's header JavaDoc
should probably be wiped and just point to this class to reduce
maintenance overhead, and encourage people to use the RuntimeInstance
version.
Revision Changes Path
1.17 +12 -12 jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeInstance.java
Index: RuntimeInstance.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeInstance.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -u -r1.16 -r1.17
--- RuntimeInstance.java 21 Apr 2002 18:36:06 -0000 1.16
+++ RuntimeInstance.java 9 Aug 2002 00:54:53 -0000 1.17
@@ -113,29 +113,29 @@
* systems like Turbine. Runtime properties can
* set and then the Runtime is initialized.
*
- * Turbine for example knows where the templates
- * are to be loaded from, and where the velocity
+ * Turbine, for example, knows where the templates
+ * are to be loaded from, and where the Velocity
* log file should be placed.
*
* So in the case of Velocity cooperating with Turbine
* the code might look something like the following:
*
- * <pre>
- * Runtime.setProperty(Runtime.FILE_RESOURCE_LOADER_PATH, templatePath);
- * Runtime.setProperty(Runtime.RUNTIME_LOG, pathToVelocityLog);
- * Runtime.init();
- * </pre>
+ * <blockquote><code><pre>
+ * ri.setProperty(Runtime.FILE_RESOURCE_LOADER_PATH, templatePath);
+ * ri.setProperty(Runtime.RUNTIME_LOG, pathToVelocityLog);
+ * ri.init();
+ * </pre></code></blockquote>
*
* <pre>
* -----------------------------------------------------------------------
* N O T E S O N R U N T I M E I N I T I A L I Z A T I O N
* -----------------------------------------------------------------------
- * Runtime.init()
+ * init()
*
- * If Runtime.init() is called by itself the Runtime will
- * initialize with a set of default values.
+ * If init() is called by itself the RuntimeInstance will initialize
+ * with a set of default values.
* -----------------------------------------------------------------------
- * Runtime.init(String/Properties)
+ * init(String/Properties)
*
* In this case the default velocity properties are layed down
* first to provide a solid base, then any properties provided
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>