You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jv...@apache.org on 2001/03/03 21:49:41 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime/resource ResourceManager.java
jvanzyl 01/03/03 12:49:41
Modified: src/java/org/apache/velocity/runtime/resource
ResourceManager.java
Log:
- simplifying the setting of a resource loader property.
Revision Changes Path
1.11 +2 -2 jakarta-velocity/src/java/org/apache/velocity/runtime/resource/ResourceManager.java
Index: ResourceManager.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/resource/ResourceManager.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ResourceManager.java 2001/03/03 20:33:22 1.10
+++ ResourceManager.java 2001/03/03 20:49:40 1.11
@@ -75,7 +75,7 @@
* Runtime.
*
* @author <a href="mailto:jvanzyl@periapt.com">Jason van Zyl</a>
- * @version $Id: ResourceManager.java,v 1.10 2001/03/03 20:33:22 jvanzyl Exp $
+ * @version $Id: ResourceManager.java,v 1.11 2001/03/03 20:49:40 jvanzyl Exp $
*/
public class ResourceManager
{
@@ -385,6 +385,6 @@
Configuration loaderConfiguration = (Configuration)
sourceInitializerMap.get(publicName.toLowerCase());
- loaderConfiguration.getConfig().getRepository().put(property, value);
+ loaderConfiguration.setProperty(property, value);
}
}