velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r524326 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolboxConfiguration.java
Date Fri, 30 Mar 2007 23:35:11 GMT
Author: nbubna
Date: Fri Mar 30 16:35:11 2007
New Revision: 524326

URL: http://svn.apache.org/viewvc?view=rev&rev=524326
Log:
have toolbox configurations default to the default scope :)

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolboxConfiguration.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolboxConfiguration.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolboxConfiguration.java?view=diff&rev=524326&r1=524325&r2=524326
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolboxConfiguration.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolboxConfiguration.java
Fri Mar 30 16:35:11 2007
@@ -20,6 +20,7 @@
  */
 
 import java.util.List;
+import org.apache.velocity.tools.ToolboxFactory;
 
 /**
  * 
@@ -30,7 +31,7 @@
 public class ToolboxConfiguration
     extends CompoundConfiguration<ToolConfiguration>
 {
-    private String scope;
+    private String scope = ToolboxFactory.DEFAULT_SCOPE;
 
 
     protected ToolConfiguration findMatchingChild(ToolConfiguration newTool)



Mime
View raw message