avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl AbstractContainer.java
Date Fri, 04 Apr 2003 16:09:45 GMT
bloritsch    2003/04/04 08:09:44

  Modified:    fortress/src/java/org/apache/avalon/fortress/impl
                        AbstractContainer.java
  Log:
  remove explicit casts to StaticBucketMap
  
  Revision  Changes    Path
  1.18      +5 -5      avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/AbstractContainer.java
  
  Index: AbstractContainer.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/AbstractContainer.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- AbstractContainer.java	22 Mar 2003 12:46:33 -0000	1.17
  +++ AbstractContainer.java	4 Apr 2003 16:09:44 -0000	1.18
  @@ -128,7 +128,7 @@
        * Contains entries mapping roles to hint maps, where the hint map contains
        * mappings from hints to ComponentHandlers.
        */
  -    protected StaticBucketMap m_mapper = new StaticBucketMap();
  +    protected Map m_mapper = new StaticBucketMap();
       /** Contains an entry for each ComponentHandler */
       protected List m_components = new ArrayList( 10 );
   
  @@ -304,7 +304,7 @@
           // ServiceSelector and put that in as SELECTOR_ENTRY.
           if( null != role && null != classname && null != handler )
           {
  -            Map hintMap = (StaticBucketMap)m_mapper.get( role );
  +            Map hintMap = (Map)m_mapper.get( role );
   
               // Initialize the hintMap if it doesn't exist yet.
               if( null == hintMap )
  @@ -446,7 +446,7 @@
       public Object get( final String role, final Object hint )
           throws ServiceException
       {
  -        final Map hintMap = (StaticBucketMap)m_mapper.get( role );
  +        final Map hintMap = (Map)m_mapper.get( role );
           Object value;
   
           if( null == hintMap )
  @@ -511,7 +511,7 @@
        */
       public boolean has( final String role, final Object hint )
       {
  -        final Map hintMap = (StaticBucketMap)m_mapper.get( role );
  +        final Map hintMap = (Map)m_mapper.get( role );
           boolean hasComponent = false;
   
           if( null != hintMap )
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message