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 <[EMAIL PROTECTED]> wrote:
I would say yes as annotations are the way to go now.

Regards,

~Simon

On 11/8/06, Arjuna Wijeyekoon <[EMAIL PROTECTED]> 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()
>
>
> ??
>


Reply via email to