classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: Patch for EnumSyntax attributes in the print api


From: Mark Wielaard
Subject: Re: [cp-patches] FYI: Patch for EnumSyntax attributes in the print api
Date: Mon, 19 Dec 2005 09:30:06 +0100

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]