You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Paul Glezen <pg...@us.ibm.com> on 2001/06/19 16:18:01 UTC
Method Deprecation
How does one mark a method as deprecated? Will doing so in the Javadoc
comments accomplish this?
Thanks,
- Paul
Paul Glezen
IT Specialist
Software Services
818 539 3321
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
Re: Method Deprecation
Posted by Claudio Corsi <cc...@exceloncorp.com>.
Paul,
All you need to do is add the "@deprecated" to the method or class javadoc. It
is also recommend to include a "@see" tag to reference the method or class that
should be now called or replaced with.
--Claudio
> From: "Paul Glezen" <pg...@us.ibm.com>
> Date: Tue, 19 Jun 2001 07:18:01 -0700
>
> How does one mark a method as deprecated? Will doing so in the Javadoc
> comments accomplish this?
>
> Thanks,
> - Paul
>
> Paul Glezen
> IT Specialist
> Software Services
> 818 539 3321
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
Re: Method Deprecation
Posted by Scott M Stark <Sc...@jboss.org>.
Yes, use @deprecated :
/**
@deprecated As of version x.y, replaced by {@link #newMethod()}
*/
----- Original Message -----
From: "Paul Glezen" <pg...@us.ibm.com>
To: "LOG4J Developers Mailing List" <lo...@jakarta.apache.org>
Sent: Tuesday, June 19, 2001 7:18 AM
Subject: Method Deprecation
> How does one mark a method as deprecated? Will doing so in the Javadoc
> comments accomplish this?
>
> Thanks,
> - Paul
>
> Paul Glezen
> IT Specialist
> Software Services
> 818 539 3321
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
Re: Method Deprecation
Posted by Endre Stølsvik <En...@Stolsvik.com>.
On Tue, 19 Jun 2001, Paul Glezen wrote:
| How does one mark a method as deprecated? Will doing so in the Javadoc
| comments accomplish this?
Yes, but is this log4j related at all?
--
Mvh,
Endre
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org