velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime/resource ResourceManager.java
Date Sat, 03 Mar 2001 20:49:41 GMT
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);
       }
   }
  
  
  

Mime
View raw message