You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2002/07/08 01:26:10 UTC

cvs commit: jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/meta/data DefaultProfile.java

mcconnell    2002/07/07 16:26:10

  Modified:    assembly/src/java/org/apache/excalibur/meta/data
                        DefaultProfile.java
  Log:
  updated variable naming
  
  Revision  Changes    Path
  1.3       +8 -8      jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/meta/data/DefaultProfile.java
  
  Index: DefaultProfile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/meta/data/DefaultProfile.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultProfile.java	7 Jul 2002 04:28:31 -0000	1.2
  +++ DefaultProfile.java	7 Jul 2002 23:26:10 -0000	1.3
  @@ -46,7 +46,7 @@
       /**
        * The info object for component type.
        */
  -    private final Type m_componentInfo;
  +    private final Type m_type;
   
       /**
        * The parameters for component (if any).
  @@ -74,13 +74,13 @@
        *
        * @param name the abstract name of component meta data instance
        * @param dependencies the meta data for any dependencies
  -     * @param componentInfo the component componentInfo desribing the component type
  +     * @param type the component type
        */
       public DefaultProfile( final String name,
                                 final Parameters parameters,
                                 final Configuration configuration,
                                 final Context context,
  -                              final Type componentInfo,
  +                              final Type type,
                                 final int mode )
       {
           if( null == name )
  @@ -92,14 +92,14 @@
               m_name = name;
           }
   
  -        if( null == componentInfo )
  +        if( null == type )
           {
  -            throw new NullPointerException( "componentInfo" );
  +            throw new NullPointerException( "type" );
           }
   
           m_parameters = parameters;
           m_configuration = configuration;
  -        m_componentInfo = componentInfo;
  +        m_type = type;
           m_context = context;
           m_mode = mode;
       }
  @@ -121,7 +121,7 @@
        */
       public Type getType()
       {
  -        return m_componentInfo;
  +        return m_type;
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>