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/component/src/java/org/apache/avalon/excalibur/component DefaultComponentHandler.java
Date Sun, 10 Nov 2002 14:21:08 GMT
donaldp     2002/11/10 06:21:08

  Modified:    component/src/java/org/apache/avalon/excalibur/component
                        DefaultComponentHandler.java
  Log:
  Use ContainerUtil
  
  Revision  Changes    Path
  1.5       +3 -8      jakarta-avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/DefaultComponentHandler.java
  
  Index: DefaultComponentHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/DefaultComponentHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DefaultComponentHandler.java	24 Sep 2002 20:39:53 -0000	1.4
  +++ DefaultComponentHandler.java	10 Nov 2002 14:21:08 -0000	1.5
  @@ -7,10 +7,10 @@
    */
   package org.apache.avalon.excalibur.component;
   
  -import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.component.Component;
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.configuration.Configuration;
  +import org.apache.avalon.framework.container.ContainerUtil;
   import org.apache.avalon.framework.context.Context;
   
   /**
  @@ -161,12 +161,7 @@
       {
           try
           {
  -            // do nothing here
  -
  -            if( m_factory instanceof Disposable )
  -            {
  -                ( (Disposable)m_factory ).dispose();
  -            }
  +            ContainerUtil.dispose( m_factory );
           }
           catch( final Exception e )
           {
  
  
  

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