avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Gaspar" <paulo.gas...@krankikom.de>
Subject RE: Why Version.equals( final Version other )?
Date Fri, 14 Sep 2001 18:27:28 GMT
Well, considering the default implementation of
  boolean equals(Object obj)

it will still all work properly anyway.

Have fun,
Paulo

> -----Original Message-----
> From: Peter Donald [mailto:donaldp@apache.org]
> Sent: Friday, September 14, 2001 4:58 PM
> To: Avalon Development
> Subject: Re: Why Version.equals( final Version other )?
> 
> 
> On Fri, 14 Sep 2001 23:13, Paulo Gaspar wrote:
> > > Well I like the type safety, however you could also easily implement
> >
> > But Peter, since any class inherits a method
> >   boolean equals(Object obj)
> >
> > from Object, you still have no type safe equals() method just by
> > implementing
> >   boolean equals( final Version other )
> 
> true. I guess it is just a habit then ;)
> 
> -- 
> Cheers,
> 
> Pete
> 
> ------------------------------------------
> I just hate 'yes' men, don't you Smithers?
> ------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: avalon-dev-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message