jstrachan    2002/11/11 10:56:08

  Modified:    jelly/src/java/org/apache/commons/jelly JellyContext.java
  Log:
  minor patch to make the Logger a static final variable to avoid looking it up each 
time a new context is made
  
  Revision  Changes    Path
  1.33      +3 -3      
jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/JellyContext.java
  
  Index: JellyContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/JellyContext.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- JellyContext.java 30 Oct 2002 19:16:26 -0000      1.32
  +++ JellyContext.java 11 Nov 2002 18:56:08 -0000      1.33
  @@ -80,6 +80,9 @@
     */
   public class JellyContext {
   
  +    /** The Log to which logging calls will be made. */
  +    private static Log log = LogFactory.getLog(JellyContext.class);
  +
       /** The root URL context (where scripts are located from) */
       private URL rootURL;
   
  @@ -91,9 +94,6 @@
   
       /** synchronized access to the variables in scope */
       private Map variables = new Hashtable();
  -
  -    /** The Log to which logging calls will be made. */
  -    private Log log = LogFactory.getLog(JellyContext.class);
   
       /** The parent context */
       private JellyContext parent;
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>

Reply via email to