crafterm    2002/07/22 10:39:13

  Modified:    fortress/src/java/org/apache/excalibur/fortress/lifecycle
                        AbstractLifecycleExtensionManager.java
  Log:
  Removed several tabs, and fixed up header's commenting style.
  
  Revision  Changes    Path
  1.2       +24 -24    
jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/lifecycle/AbstractLifecycleExtensionManager.java
  
  Index: AbstractLifecycleExtensionManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/lifecycle/AbstractLifecycleExtensionManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractLifecycleExtensionManager.java    9 Jul 2002 13:32:36 -0000       1.1
  +++ AbstractLifecycleExtensionManager.java    22 Jul 2002 17:39:13 -0000      1.2
  @@ -1,10 +1,10 @@
   /*
  -* Copyright (C) The Apache Software Foundation. All rights reserved.
  -*
  -* This software is published under the terms of the Apache Software License
  -* version 1.1, a copy of which has been included with this distribution in
  -* the LICENSE.txt file.
  -*/
  + * Copyright (C) The Apache Software Foundation. All rights reserved.
  + *
  + * This software is published under the terms of the Apache Software License
  + * version 1.1, a copy of which has been included with this distribution in
  + * the LICENSE.txt file.
  + */
   package org.apache.excalibur.fortress.lifecycle;
   
   import java.lang.reflect.Method;
  @@ -32,23 +32,23 @@
        */
       public AbstractLifecycleExtensionManager()
       {
  -        final Class[] params = {Object.class, Context.class};
  -     final Class clazz = LifecycleExtension.class;
  +        final Class[] params = { Object.class, Context.class };
  +        final Class clazz = LifecycleExtension.class;
   
  -     try
  -     {
  -         ACCESS = clazz.getDeclaredMethod( "access", params );
  -         RELEASE = clazz.getDeclaredMethod( "release", params );
  -         CREATION = clazz.getDeclaredMethod( "create", params );
  -         DESTRUCTION = clazz.getDeclaredMethod( "destroy", params );
  -     }
  -     catch ( NoSuchMethodException e )
  -     {
  -         throw new IllegalStateException(
  -             "Bad environment, cannot reference LifecycleExtension class: " +
  -             e.getMessage()
  -         );
  -     }
  +        try
  +        {
  +            ACCESS = clazz.getDeclaredMethod( "access", params );
  +            RELEASE = clazz.getDeclaredMethod( "release", params );
  +            CREATION = clazz.getDeclaredMethod( "create", params );
  +            DESTRUCTION = clazz.getDeclaredMethod( "destroy", params );
  +        }
  +        catch ( NoSuchMethodException e )
  +        {
  +            throw new IllegalStateException(
  +                "Bad environment, cannot reference LifecycleExtension class: " +
  +                e.getMessage()
  +            );
  +        }
       }
   
       /**
  @@ -58,7 +58,7 @@
        * @param component a <code>Component</code> instance
        * @param context a <code>Context</code> instance
        * @param type a <code>Method</code> instance, referencing which phase the
  -     * extensions array adheres to.
  +     * extensions array adheres to
        * @exception Exception if an error occurs
        */
       protected void executeExtensions(
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to