incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: Re: deprecating methods
Date Thu, 09 Nov 2006 07:04:38 GMT
It's not obvious to me that, in this case, the annotation actually
adds anything.  Is there a practical gain from adding the @Deprecated
annotation, or is it just somehow better form?

-- Adam


On 11/8/06, Simon Lessard <simon.lessard.3@gmail.com> wrote:
> I would say yes as annotations are the way to go now.
>
> Regards,
>
> ~Simon
>
> On 11/8/06, Arjuna Wijeyekoon <arjuna@gmail.com> wrote:
> >
> > Usually method deprecation is done like:
> > /**
> > * @deprecated use the foobar method instead
> > */
> > public void foo()
> >
> >
> >
> > In addition , do we have to do:
> > /**
> > * @deprecated use the foobar method instead
> > */
> > @Deprecated
> > public void foo()
> >
> >
> > ??
> >
>
>

Mime
View raw message