velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r523762 - /velocity/tools/trunk/src/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java
Date Thu, 29 Mar 2007 16:38:03 GMT
Author: nbubna
Date: Thu Mar 29 09:37:59 2007
New Revision: 523762

URL: http://svn.apache.org/viewvc?view=rev&rev=523762
Log:
make constructor protected to allow subclasses to create ServletToolboxManager instances w/o
a backing toolbox.xml file

Modified:
    velocity/tools/trunk/src/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java

Modified: velocity/tools/trunk/src/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java?view=diff&rev=523762&r1=523761&r2=523762
==============================================================================
--- velocity/tools/trunk/src/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java
(original)
+++ velocity/tools/trunk/src/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java
Thu Mar 29 09:37:59 2007
@@ -119,7 +119,7 @@
      * to ensure there is exactly one ServletToolboxManager
      * per xml toolbox configuration file.
      */
-    private ServletToolboxManager(ServletContext servletContext)
+    protected ServletToolboxManager(ServletContext servletContext)
     {
         this.servletContext = servletContext;
         appTools = new HashMap();



Mime
View raw message