Use the @deprecated javadoc tag.

David



From: Chiming Huang <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [OT] How to make a method deprecated
Date: Thu, 6 Mar 2003 08:27:14 -0800 (PST)


Hi,


In java, I would like to make a method deprecated. So that javac will complain if a program uses the deprecated method. What should I do?

Thanks in advance.

Chiming



---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to