avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/lifecycle LifecycleHelper.java
Date Thu, 06 Jun 2002 14:58:03 GMT
mcconnell    2002/06/06 07:58:03

  Modified:    containerkit/src/java/org/apache/excalibur/containerkit/lifecycle
                        LifecycleHelper.java
  Log:
  corrected to handle if( Configurable ) else if( Parameterizable )
  
  Revision  Changes    Path
  1.6       +3 -4      jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/lifecycle/LifecycleHelper.java
  
  Index: LifecycleHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/lifecycle/LifecycleHelper.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LifecycleHelper.java	6 Jun 2002 13:41:45 -0000	1.5
  +++ LifecycleHelper.java	6 Jun 2002 14:58:03 -0000	1.6
  @@ -125,11 +125,10 @@
                       accessor.createConfiguration( entry );
                   ContainerUtil.configure( object, configuration );
               }
  -
  -            //Parameterizing stage
  -            stage = STAGE_PARAMETER;
  -            if( object instanceof Parameterizable )
  +            else if( object instanceof Parameterizable )
               {
  +                //Parameterizing stage
  +                stage = STAGE_PARAMETER;
                   notice( name, stage );
                   final Parameters parameters =
                       accessor.createParameters( entry );
  
  
  

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