• 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
 
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!