aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
diff options
context:
space:
mode:
authorClaude Brisson <cbrisson@apache.org>2019-03-10 22:22:32 +0000
committerClaude Brisson <cbrisson@apache.org>2019-03-10 22:22:32 +0000
commitfec80129c96cff953d9d215f1332d9188bd7de32 (patch)
tree4c302c9d2206a307e97e146e20d5c769eabb4e02 /velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
parent23e636ba0597f8f6a6b2bd69672b1304f22f5083 (diff)
downloadapache-velocity-engine-fec80129c96cff953d9d215f1332d9188bd7de32.tar.gz
[engine][VELOCITY-909] Propagate propnames changes thorough javadoc; some more related code fixes
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855176 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java')
-rw-r--r--velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
index 91058d68..68644561 100644
--- a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
+++ b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
@@ -69,7 +69,7 @@ public class ResourceManagerImpl
* This is a list of the template input stream source initializers, basically properties for a particular template stream
* source. The order in this list reflects numbering of the properties i.e.
*
- * <p>&lt;loader-id&gt;.resource.loader.&lt;property&gt; = &lt;value&gt;</p>
+ * <p>resource.loader.&lt;loader-id&gt;.&lt;property&gt; = &lt;value&gt;</p>
*/
private final List<ExtProperties> sourceInitializerList = new ArrayList<>();
@@ -127,9 +127,9 @@ public class ResourceManagerImpl
resourceLoader = ResourceLoaderFactory.getLoader(rsvc, loaderClass);
} else
{
- String msg = "Unable to find '" +
+ String msg = "Unable to find 'resource.loader." +
configuration.getString(RuntimeConstants.RESOURCE_LOADER_IDENTIFIER) +
- ".resource.loader.class' specification in configuration." +
+ ".class' specification in configuration." +
" This is a critical value. Please adjust configuration.";
log.error(msg);
throw new VelocityException(msg);
@@ -215,7 +215,7 @@ public class ResourceManagerImpl
/*
* The loader id might look something like the following:
*
- * file.resource.loader
+ * resource.loader.file
*
* The loader id is the prefix used for all properties
* pertaining to a particular loader.