velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r584491 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AbstractLockConfig.java
Date Sun, 14 Oct 2007 06:15:43 GMT
Author: nbubna
Date: Sat Oct 13 23:15:42 2007
New Revision: 584491

URL: http://svn.apache.org/viewvc?rev=584491&view=rev
Log:
call setLockConfig() internally too

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AbstractLockConfig.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AbstractLockConfig.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AbstractLockConfig.java?rev=584491&r1=584490&r2=584491&view=diff
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AbstractLockConfig.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AbstractLockConfig.java
Sat Oct 13 23:15:42 2007
@@ -72,7 +72,7 @@
                 // to prevent templates from re-configuring this instance
                 lock = values.getBoolean(OLD_LOCK_CONFIG_KEY, Boolean.TRUE);
             }
-            configLocked = lock.booleanValue();
+            setLockConfig(lock.booleanValue());
         }
     }
 



Mime
View raw message