donaldp     2002/10/03 22:51:40

  Modified:    info/src/java/org/apache/avalon/framework/info
                        ComponentDescriptor.java
  Log:
  Remove name from component as can be derived or aquired from repository xml file.
  
  Revision  Changes    Path
  1.8       +2 -25     
jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info/ComponentDescriptor.java
  
  Index: ComponentDescriptor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info/ComponentDescriptor.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ComponentDescriptor.java  29 Sep 2002 04:13:47 -0000      1.7
  +++ ComponentDescriptor.java  4 Oct 2002 05:51:40 -0000       1.8
  @@ -50,43 +50,20 @@
       extends FeatureDescriptor
   {
       /**
  -     * The short name of the Component Type. Useful for displaying
  -     * human readable strings describing the type in
  -     * assembly tools or generators.
  -     */
  -    private final String m_name;
  -
  -    /**
        * The implementation key for component (usually classname).
        */
       private final String m_implementationKey;
   
  -    public ComponentDescriptor( final String name,
  -                                final String implementationKey,
  +    public ComponentDescriptor( final String implementationKey,
                                   final Attribute[] attribute )
       {
           super( attribute );
  -        if( null == name )
  -        {
  -            throw new NullPointerException( "name" );
  -        }
           if( null == implementationKey )
           {
               throw new NullPointerException( "implementationKey" );
           }
   
  -        m_name = name;
           m_implementationKey = implementationKey;
  -    }
  -
  -    /**
  -     * Return the symbolic name of component.
  -     *
  -     * @return the symbolic name of component.
  -     */
  -    public String getName()
  -    {
  -        return m_name;
       }
   
       /**
  
  
  

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

Reply via email to