ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/type DefaultTypeManager.java
Date Fri, 07 Jun 2002 05:44:53 GMT
donaldp     2002/06/06 22:44:53

  Modified:    container/src/java/org/apache/myrmidon/components/type
                        DefaultTypeManager.java
  Log:
  Sort imports
  
  Revision  Changes    Path
  1.26      +7 -6      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/type/DefaultTypeManager.java
  
  Index: DefaultTypeManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/type/DefaultTypeManager.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- DefaultTypeManager.java	27 May 2002 08:30:30 -0000	1.25
  +++ DefaultTypeManager.java	7 Jun 2002 05:44:53 -0000	1.26
  @@ -15,24 +15,24 @@
   import org.apache.avalon.framework.service.Serviceable;
   import org.apache.myrmidon.interfaces.role.RoleInfo;
   import org.apache.myrmidon.interfaces.role.RoleManager;
  +import org.apache.myrmidon.interfaces.service.ScopedService;
   import org.apache.myrmidon.interfaces.type.TypeException;
   import org.apache.myrmidon.interfaces.type.TypeFactory;
   import org.apache.myrmidon.interfaces.type.TypeManager;
   import org.apache.myrmidon.interfaces.type.TypeRegistry;
  -import org.apache.myrmidon.interfaces.service.ScopedService;
   
   /**
    * The interface that is used to manage types.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    * @author <a href="mailto:darrell@apache.org">Darrell DeBoer</a>
  - * @version $Revision: 1.25 $ $Date: 2002/05/27 08:30:30 $
  + * @version $Revision: 1.26 $ $Date: 2002/06/07 05:44:53 $
    */
   public class DefaultTypeManager
       implements TypeRegistry, TypeManager, Serviceable, ScopedService
   {
  -    private static final Resources REZ
  -        = ResourceManager.getPackageResources( DefaultTypeManager.class );
  +    private static final Resources REZ =
  +        ResourceManager.getPackageResources( DefaultTypeManager.class );
   
       ///Parent type manager to inherit values from.
       private final DefaultTypeManager m_parent;
  @@ -136,14 +136,15 @@
   
           // If we have a parent, we need to chain from the parent TypeFactory.
           // This is OK because DefaultTypeManager hierarchies share a common RoleManager.
  -        if ( m_parent != null )
  +        if( m_parent != null )
           {
               final NamespaceAwareTypeFactory parentFactory =
                   m_parent.createFactory( roleName );
               factory = new NamespaceAwareTypeFactory( parentFactory );
           }
           // Otherwise, try to create a new one
  -        else {
  +        else
  +        {
               // Lookup the role type
               final RoleInfo role = m_roleManager.getRole( roleName );
               if( role == null )
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message