avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: avalon-logkit/src/java/org/apache/log ContextMap.java
Date Sun, 20 Apr 2003 08:08:31 GMT
donaldp     2003/04/20 01:08:31

  Modified:    src/java/org/apache/log ContextMap.java
  Log:
  Follow naming conventions
  
  Revision  Changes    Path
  1.16      +4 -4      avalon-logkit/src/java/org/apache/log/ContextMap.java
  
  Index: ContextMap.java
  ===================================================================
  RCS file: /home/cvs/avalon-logkit/src/java/org/apache/log/ContextMap.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ContextMap.java	9 Feb 2003 23:33:21 -0000	1.15
  +++ ContextMap.java	20 Apr 2003 08:08:31 -0000	1.16
  @@ -81,7 +81,7 @@
       implements Serializable
   {
       ///Thread local for holding instance of map associated with current thread
  -    private static final ThreadLocal LOCAL_CONTEXT = new InheritableThreadLocal();
  +    private static final ThreadLocal c_localContext = new InheritableThreadLocal();
   
       private final ContextMap m_parent;
   
  @@ -116,12 +116,12 @@
       public static final ContextMap getCurrentContext( final boolean autocreate )
       {
           //Check security permission here???
  -        ContextMap context = (ContextMap)LOCAL_CONTEXT.get();
  +        ContextMap context = (ContextMap)c_localContext.get();
   
           if( null == context && autocreate )
           {
               context = new ContextMap();
  -            LOCAL_CONTEXT.set( context );
  +            c_localContext.set( context );
           }
   
           return context;
  @@ -135,7 +135,7 @@
       public static final void bind( final ContextMap context )
       {
           //Check security permission here??
  -        LOCAL_CONTEXT.set( context );
  +        c_localContext.set( context );
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message