avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/threadcontext/src/java/org/apache/excalibur/threadcontext/impl DefaultThreadContextPolicy.java
Date Fri, 19 Jul 2002 03:47:44 GMT
donaldp     2002/07/18 20:47:44

  Modified:    threadcontext/src/java/org/apache/excalibur/threadcontext/impl
                        DefaultThreadContextPolicy.java
  Log:
  Whitespace fixups
  
  Revision  Changes    Path
  1.9       +5 -6      jakarta-avalon-excalibur/threadcontext/src/java/org/apache/excalibur/threadcontext/impl/DefaultThreadContextPolicy.java
  
  Index: DefaultThreadContextPolicy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/threadcontext/src/java/org/apache/excalibur/threadcontext/impl/DefaultThreadContextPolicy.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DefaultThreadContextPolicy.java	13 May 2002 12:17:38 -0000	1.8
  +++ DefaultThreadContextPolicy.java	19 Jul 2002 03:47:44 -0000	1.9
  @@ -60,13 +60,13 @@
   
           if( accessor.containsKey( THREAD_NAME ) )
           {
  -            final String newName =
  -                (String)get( accessor, THREAD_NAME, null );
  -
               final Thread thread = Thread.currentThread();
               final String oldName = thread.getName();
  -            thread.setName( newName );
               store.put( THREAD_NAME, oldName );
  +
  +            final String newName =
  +                (String)get( accessor, THREAD_NAME, null );
  +            thread.setName( newName );
           }
       }
   
  @@ -80,7 +80,6 @@
       public void deactivate( final ThreadContextAccessor accessor,
                               final Map store )
       {
  -
           if( accessor.containsKey( THREAD_NAME ) )
           {
               final String name =
  
  
  

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


Mime
View raw message