Hi Wolfgang,

On Mon, 2005-12-19 at 09:26 +0100, Wolfgang Baer wrote:
> >>Then you also accept any future subclasses.
> > 
> > Except when obj == null. Then it's less robust.
> 
> Yes, it might be null. Also I don't think there will be more
> subclasses in the future except the IPP standard will be extended.
> 
> Marc, I can use your way with an additional null check if you
> prefer ?

I think it is good to do it just in case one day in the future the will
be more subclasses. If that ever happens we will all have forgotten
about this little equals() method.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to