I was curious what the reason is for the Template class's parse() method
to be public. It is not called outside of the class, and a reason why
it would need to be doesn't immediately come to mind. Thanks.
Daniel
Index: Template.java
===================================================================
RCS file:
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/Template.java,v
retrieving revision 1.5
diff -u -u -r1.5 Template.java
--- Template.java 2000/10/15 03:25:03 1.5
+++ Template.java 2000/10/15 03:25:11
@@ -129,7 +129,7 @@
* produces an AST node structure from the
* InputStream.
*/
- public void parse(InputStream inputStream) throws Exception
+ protected void parse(InputStream inputStream) throws Exception
{
document = Runtime.parse(inputStream);
}