jvanzyl     00/10/09 11:53:09

  Modified:    src/java/org/apache/velocity/runtime Runtime.java
  Log:
  - moved syncing for getTemplate out of the runtime and into the loader.
  
  Revision  Changes    Path
  1.6       +1 -2      
jakarta-velocity/src/java/org/apache/velocity/runtime/Runtime.java
  
  Index: Runtime.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/Runtime.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Runtime.java      2000/10/09 15:08:20     1.5
  +++ Runtime.java      2000/10/09 18:53:08     1.6
  @@ -154,7 +154,6 @@
               parser = new Parser();
               Hashtable directives = new Hashtable();
               directives.put("foreach", new Foreach());
  -            //directives.put("set", new Set());
               directives.put("dummy", new Dummy());
               parser.setDirectives(directives);
   
  @@ -186,7 +185,7 @@
           templateLoader.init();
       }
   
  -    public synchronized static Template getTemplate(String template)
  +    public static Template getTemplate(String template)
       {
           try
           {
  
  
  

Reply via email to