Applied - Thanks.



liu jie wrote:


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]






--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




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



Reply via email to