The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
May 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


How to make a method deprecated?

Posted by Jeganathan S on October 19, 2000 at 8:34 AM

In a user defined class, like if suppose i've alreaded launched
a my package 2 some customer and if i've some alternate methods
for the same purpose(just like in jdk) how to make the old method
deprecated, i.e if suppose my customer is using my old methods
which is still supported but not encouraged, while compilation
it should give a warning just like when v use jdk deprecated methods.

can anyone help me regarding this


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us