avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-avalon/src/java/org/apache/avalon/framework/component WrapperComponentManager.java
Date Fri, 22 Nov 2002 04:43:24 GMT
colus       2002/11/21 20:43:24

  Modified:    src/java/org/apache/avalon/framework/component
                        WrapperComponentManager.java
  Log:
  ComponentSelector fix:Didn't work in when trying to release a ComponentSelector
  Submitted by:	Peter Donald <peter@apache.org>
  
  Revision  Changes    Path
  1.7       +2 -3      jakarta-avalon/src/java/org/apache/avalon/framework/component/WrapperComponentManager.java
  
  Index: WrapperComponentManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/java/org/apache/avalon/framework/component/WrapperComponentManager.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- WrapperComponentManager.java	22 Nov 2002 00:53:25 -0000	1.6
  +++ WrapperComponentManager.java	22 Nov 2002 04:43:24 -0000	1.7
  @@ -10,7 +10,6 @@
   import org.apache.avalon.framework.service.ServiceManager;
   import org.apache.avalon.framework.service.ServiceException;
   import org.apache.avalon.framework.service.ServiceSelector;
  -import org.apache.avalon.framework.service.WrapperServiceSelector;
   
   /**
    *  * This is a {@link ComponentManager} implementation that can wrap around a
  @@ -92,7 +91,7 @@
        */
       public void release( final Component component )
       {
  -        if( component instanceof WrapperServiceSelector )
  +        if( component instanceof WrapperComponentSelector )
           {
               m_manager.
                   release( ( (WrapperComponentSelector)component ).getWrappedSelector() );
  
  
  

--
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