You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2007/06/13 02:07:24 UTC
svn commit: r546680 -
/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java
Author: nbubna
Date: Tue Jun 12 17:07:23 2007
New Revision: 546680
URL: http://svn.apache.org/viewvc?view=rev&rev=546680
Log:
make getVelocityEngine() and prepareContext() public
Modified:
velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java
Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java?view=diff&rev=546680&r1=546679&r2=546680
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java (original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java Tue Jun 12 17:07:23 2007
@@ -236,7 +236,7 @@
/**
* Returns the underlying VelocityEngine being used.
*/
- protected VelocityEngine getVelocityEngine()
+ public VelocityEngine getVelocityEngine()
{
return velocity;
}
@@ -855,7 +855,7 @@
return ctx;
}
- protected void prepareContext(ViewToolContext context)
+ public void prepareContext(ViewToolContext context)
{
// if this view is storing toolboxes under a non-standard key,
// then retrieve it's toolboxes here, since ViewToolContext won't