velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r546680 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java
Date Wed, 13 Jun 2007 00:07:24 GMT
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



Mime
View raw message