in org.apache.avalon.meta.info.DependencyDesciptor
public boolean equals( Object other )
{
if( other instanceof DependencyDescriptor )
{
DependencyDescriptor dep =
(DependencyDescriptor) other;
if( dep.isOptional() != isOptional() )
{
return false;
}
if( !dep.getReference().equals(
getReference() ) )
{
return false;
}
if( !dep.getReference().equals(
getReference() ) )
{
return false;
}
return super.equals( dep );
}
return false;
}
_________________________________________________________
Do You Yahoo!?
网恋的诠释:真情还是放纵?
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/netlove
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]