• Post Reply Bookmark Topic Watch Topic
  • New Topic

generating own depricated method  RSS feed

 
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all
I want to make one of my method as depricated and want the compiler to show a warning about that method as it does for java api.I dont kow how to do this.
Any suggestion will be most welcome
plz help
thanks
candy
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add a @deprecated tag to your javadoc comments for the method
 
Run away! Run away! Here, take this tiny ad with you:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!