velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1855158 - in /velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main: java/org/apache/velocity/runtime/ java/org/apache/velocity/util/introspection/ resources/org/apache/velocity/runtime/defaults/
Date Sun, 10 Mar 2019 19:32:12 GMT
Author: cbrisson
Date: Sun Mar 10 19:32:12 2019
New Revision: 1855158

URL: http://svn.apache.org/viewvc?rev=1855158&view=rev
Log:
[engine][VELOCITY-909] Rename introspector.uberspect to introspector.uberspect.class

Modified:
    velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java
    velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java
    velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties

Modified: velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java
URL: http://svn.apache.org/viewvc/velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java?rev=1855158&r1=1855157&r2=1855158&view=diff
==============================================================================
--- velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java
(original)
+++ velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java
Sun Mar 10 19:32:12 2019
@@ -317,7 +317,7 @@ public interface RuntimeConstants extend
      */
 
     /** key name for uberspector. Multiple classnames can be specified,in which case uberspectors
will be chained. */
-    String UBERSPECT_CLASSNAME = "introspector.uberspect";
+    String UBERSPECT_CLASSNAME = "introspector.uberspect.class";
 
     /** A comma separated list of packages to restrict access to in the SecureIntrospector.
*/
     String INTROSPECTOR_RESTRICT_PACKAGES = "introspector.restrict.packages";

Modified: velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java
URL: http://svn.apache.org/viewvc/velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java?rev=1855158&r1=1855157&r2=1855158&view=diff
==============================================================================
--- velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java
(original)
+++ velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java
Sun Mar 10 19:32:12 2019
@@ -31,7 +31,7 @@ import java.util.Iterator;
  *
  * <p>To use this introspector, set the following property:
  * <pre>
- * runtime.introspector.uberspect = org.apache.velocity.util.introspection.SecureUberspector
+ * introspector.uberspect.class = org.apache.velocity.util.introspection.SecureUberspector
  * </pre>
  *
  * @author <a href="mailto:wglass@forio.com">Will Glass-Husain</a>

Modified: velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
URL: http://svn.apache.org/viewvc/velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties?rev=1855158&r1=1855157&r2=1855158&view=diff
==============================================================================
--- velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
(original)
+++ velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
Sun Mar 10 19:32:12 2019
@@ -198,7 +198,7 @@ parser.pool.size = 20
 # Allows alternative introspection and all that can of worms brings.
 # ----------------------------------------------------------------------------
 
-introspector.uberspect = org.apache.velocity.util.introspection.UberspectImpl
+introspector.uberspect.class = org.apache.velocity.util.introspection.UberspectImpl
 
 # ----------------------------------------------------------------------------
 # CONVERSION HANDLER



Mime
View raw message