aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src
diff options
context:
space:
mode:
authorClaude Brisson <cbrisson@apache.org>2019-03-10 19:32:12 +0000
committerClaude Brisson <cbrisson@apache.org>2019-03-10 19:32:12 +0000
commitdec6be9cff760014ac8258471c968e05874971d4 (patch)
tree577eae66a7af2e3cacf1eba5b0fe4287f7320e3f /velocity-engine-core/src
parent0f0fce55863b66f4861c6f305dd50d1ffc28c624 (diff)
downloadapache-velocity-engine-dec6be9cff760014ac8258471c968e05874971d4.tar.gz
[engine][VELOCITY-909] Rename introspector.uberspect to introspector.uberspect.class
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855158 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'velocity-engine-core/src')
-rw-r--r--velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java2
-rw-r--r--velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java2
-rw-r--r--velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties2
3 files changed, 3 insertions, 3 deletions
diff --git a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java
index 28e96ac1..830f5f80 100644
--- a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java
+++ b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java
@@ -317,7 +317,7 @@ public interface RuntimeConstants extends DeprecatedRuntimeConstants
*/
/** 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";
diff --git a/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java b/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java
index 590f8126..89d25b4d 100644
--- a/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java
+++ b/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/SecureUberspector.java
@@ -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>
diff --git a/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties b/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
index 14f85e4f..a96fc591 100644
--- a/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
+++ b/velocity-engine-core/src/main/resources/org/apache/velocity/runtime/defaults/velocity.properties
@@ -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