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/fortress/src/java/org/apache/excalibur/fortress/lookup FortressServiceSelector.java
Date Sat, 09 Nov 2002 09:16:31 GMT
donaldp     2002/11/09 01:16:31

  Modified:    fortress/src/java/org/apache/excalibur/fortress/lookup
                        FortressServiceSelector.java
  Log:
  Variable rename
  
  Revision  Changes    Path
  1.16      +5 -6      jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/lookup/FortressServiceSelector.java
  
  Index: FortressServiceSelector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/lookup/FortressServiceSelector.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- FortressServiceSelector.java	9 Nov 2002 03:09:53 -0000	1.15
  +++ FortressServiceSelector.java	9 Nov 2002 09:16:31 -0000	1.16
  @@ -50,7 +50,6 @@
   package org.apache.excalibur.fortress.lookup;
   
   import java.util.Map;
  -import org.apache.avalon.framework.container.ContainerUtil;
   import org.apache.avalon.framework.service.ServiceException;
   import org.apache.avalon.framework.service.ServiceSelector;
   import org.apache.commons.collections.StaticBucketMap;
  @@ -69,14 +68,14 @@
       implements ServiceSelector
   {
       private final String m_role;
  -    private final Container m_components;
  +    private final Container m_container;
       private final Map m_used;
   
       public FortressServiceSelector( final Container container,
                                       final String role )
       {
           m_role = role;
  -        m_components = container;
  +        m_container = container;
           m_used = new StaticBucketMap();
       }
   
  @@ -90,7 +89,7 @@
           }
   
           final ComponentHandler handler =
  -            (ComponentHandler)m_components.get( m_role, hint );
  +            (ComponentHandler)m_container.get( m_role, hint );
           if( null == handler )
           {
               final String message =
  @@ -118,7 +117,7 @@
   
       public boolean isSelectable( Object hint )
       {
  -        return m_components.has( m_role, hint );
  +        return m_container.has( m_role, hint );
       }
   
       public void release( Object component )
  
  
  

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