You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Peter Donald <pe...@apache.org> on 2002/06/30 03:41:40 UTC

Re: cvs commit: jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/con tainerkit/metadata ComponentMetaData.java

At 01:34 PM 6/29/2002 +0000, you wrote:
>mcconnell    2002/06/29 06:34:36
>
>   Modified: 
> containerkit/src/java/org/apache/excalibur/containerkit/metadata
>                         ComponentMetaData.java
>   Log:
>   updated to provide support for automatically naming (needed when 
> creating implicit metadata)
>
>   Revision  Changes    Path
>   1.7       +6 
> -3 
> jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metadata/ComponentMetaData.java
>
>   Index: ComponentMetaData.java
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metadata/ComponentMetaData.java,v
>   retrieving revision 1.6
>   retrieving revision 1.7
>   diff -u -r1.6 -r1.7
>   --- ComponentMetaData.java    25 Jun 2002 07:39:57 -0000      1.6
>   +++ ComponentMetaData.java    29 Jun 2002 13:34:36 -0000      1.7
>   @@ -67,7 +67,11 @@
>        {
>            if( null == name )
>            {
>   -            throw new NullPointerException( "name" );
>   +            m_name = "" + System.identityHashCode( this );
>   +        }
>   +        else
>   +        {
>   +            m_name = name;
>            }


It would be nicer to do this outside of ComponentMetaData in the utility 
classes rather than here.


Cheers,

Peter Donald
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Faced with the choice between changing one's mind,
and proving that there is no need to do so - almost
everyone gets busy on the proof."
              - John Kenneth Galbraith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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


Re: cvs commit: jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/con tainerkit/metadata ComponentMetaData.java

Posted by Stephen McConnell <mc...@osm.net>.

Peter Donald wrote:

> At 01:34 PM 6/29/2002 +0000, you wrote:
>
>> mcconnell    2002/06/29 06:34:36
>>
>>   Modified: 
>> containerkit/src/java/org/apache/excalibur/containerkit/metadata
>>                         ComponentMetaData.java
>>   Log:
>>   updated to provide support for automatically naming (needed when 
>> creating implicit metadata)
>>
>>   Revision  Changes    Path
>>   1.7       +6 -3 
>> jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metadata/ComponentMetaData.java 
>>
>>
>>   Index: ComponentMetaData.java
>>   ===================================================================
>>   RCS file: 
>> /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metadata/ComponentMetaData.java,v 
>>
>>   retrieving revision 1.6
>>   retrieving revision 1.7
>>   diff -u -r1.6 -r1.7
>>   --- ComponentMetaData.java    25 Jun 2002 07:39:57 -0000      1.6
>>   +++ ComponentMetaData.java    29 Jun 2002 13:34:36 -0000      1.7
>>   @@ -67,7 +67,11 @@
>>        {
>>            if( null == name )
>>            {
>>   -            throw new NullPointerException( "name" );
>>   +            m_name = "" + System.identityHashCode( this );
>>   +        }
>>   +        else
>>   +        {
>>   +            m_name = name;
>>            }
>
>
>
> It would be nicer to do this outside of ComponentMetaData in the 
> utility classes rather than here.


I know - but I'm not there yet.
Focussing on what to do with a validated application set - then I'll 
come back and clean this up.
Steve.

>
>
> Cheers,
>
> Peter Donald
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "Faced with the choice between changing one's mind,
> and proving that there is no need to do so - almost
> everyone gets busy on the proof."
>              - John Kenneth Galbraith
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net




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