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-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor DefaultEmbeddor.java
Date Mon, 25 Mar 2002 08:16:34 GMT
donaldp     02/03/25 00:16:34

  Modified:    src/java/org/apache/avalon/phoenix/components/embeddor
                        DefaultEmbeddor.java
  Log:
  Fix class cast bug on dispose
  
  Revision  Changes    Path
  1.51      +2 -1      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/DefaultEmbeddor.java
  
  Index: DefaultEmbeddor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/DefaultEmbeddor.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- DefaultEmbeddor.java	21 Mar 2002 09:08:29 -0000	1.50
  +++ DefaultEmbeddor.java	25 Mar 2002 08:16:34 -0000	1.51
  @@ -540,7 +540,8 @@
       {
           for( int i = 0; i < m_components.length; i++ )
           {
  -            shutdownComponent( (Component)m_components[ i ] );
  +            final EmbeddorEntry entry = m_components[ i ];
  +            shutdownComponent( (Component)entry.getObject(); );
           }
       }
   
  
  
  

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