avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system AbstractContainer.java
Date Tue, 05 Feb 2002 20:51:48 GMT
bloritsch    02/02/05 12:51:48

  Modified:    src/scratchpad/org/apache/avalon/excalibur/system
                        AbstractContainer.java
  Log:
  fix NullPointerException in AbstractContainer
  
  Revision  Changes    Path
  1.9       +3 -3      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java
  
  Index: AbstractContainer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AbstractContainer.java	5 Feb 2002 19:17:19 -0000	1.8
  +++ AbstractContainer.java	5 Feb 2002 20:51:48 -0000	1.9
  @@ -36,7 +36,7 @@
    * Manager can expose that to the instantiating class.
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.8 $ $Date: 2002/02/05 19:17:19 $
  + * @version CVS $Revision: 1.9 $ $Date: 2002/02/05 20:51:48 $
    */
   public abstract class AbstractContainer
      extends AbstractLogEnabled
  @@ -53,8 +53,8 @@
       private ClassLoader            m_classLoader;
       private RoleManager            m_roleManager;
       private Configuration          m_configuration;
  -    private List                   m_components;
  -    private Map                    m_configs;
  +    private List                   m_components = new ArrayList();
  +    private Map                    m_configs = new HashMap();
   
       /**
        * Wrap this so that ComponentStateValidator functions properly.
  
  
  

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