bloritsch    2003/02/15 09:51:02

  Modified:    component/src/java/org/apache/avalon/excalibur/component
                        ExcaliburComponentSelector.java
  Log:
  patch the selector--which I forgot to do before
  
  Revision  Changes    Path
  1.19      +4 -4      
avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/ExcaliburComponentSelector.java
  
  Index: ExcaliburComponentSelector.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/ExcaliburComponentSelector.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ExcaliburComponentSelector.java   5 Feb 2003 02:28:35 -0000       1.18
  +++ ExcaliburComponentSelector.java   15 Feb 2003 17:51:02 -0000      1.19
  @@ -228,7 +228,7 @@
               throw new ComponentException( hint.toString(), message );
           }
   
  -        m_componentMapping.put( component, handler );
  +        m_componentMapping.put( component.toString(), handler );
           return component;
       }
   
  @@ -267,7 +267,7 @@
           }
   
           final ComponentHandler handler =
  -            (ComponentHandler)m_componentMapping.get( component );
  +            (ComponentHandler)m_componentMapping.get( component.toString() );
   
           if( null == handler )
           {
  @@ -286,7 +286,7 @@
               // Remove the component before calling put.  This is critical to 
avoid the
               //  problem where another thread calls put on the same component 
before
               //  remove can be called.
  -            m_componentMapping.remove( component );
  +            m_componentMapping.remove( component.toString() );
           }
   
           try
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to