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/application DefaultApplication.java
Date Sun, 09 Dec 2001 07:05:22 GMT
donaldp     01/12/08 23:05:22

  Modified:    src/java/org/apache/avalon/phoenix/components/application
                        DefaultApplication.java
  Log:
  Made runPhase private.
  
  Revision  Changes    Path
  1.6       +3 -5      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/DefaultApplication.java
  
  Index: DefaultApplication.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/DefaultApplication.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DefaultApplication.java	2001/11/19 12:21:29	1.5
  +++ DefaultApplication.java	2001/12/09 07:05:22	1.6
  @@ -138,7 +138,7 @@
        * @param name the name of phase (for logging purposes)
        * @exception Exception if an error occurs
        */
  -    protected final void runPhase( final String name )
  +    private final void runPhase( final String name )
           throws Exception
       {
           final BlockMetaData[] blocks = m_context.getMetaData().getBlocks();
  @@ -173,10 +173,8 @@
               try
               {
                   final BlockEntry entry = (BlockEntry)m_entrys.get( block );
  -                if( PHASE_STARTUP == name )
  -                    m_lifecycle.startup( entry );
  -                else
  -                    m_lifecycle.shutdown( entry );
  +                if( PHASE_STARTUP == name ) m_lifecycle.startup( entry );
  +                else m_lifecycle.shutdown( entry );
               }
               catch( final Exception e )
               {
  
  
  

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