Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deprecated methods

 
Vivian Richards
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to change the deprecated methods. Can anyone please give me some guidance on how to do it or point me to some place where I can read about it ?
 
Rick Fortier
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vivian Richards:
I am trying to change the deprecated methods. Can anyone please give me some guidance on how to do it or point me to some place where I can read about it ?

run the compiler: java -deprecation *.java
oops, that is javac -deprecation *.java
This will list what is deprecated. Then go to the API and read the comments in the old method and see if they recommend any replacement.

[This message has been edited by Rick Fortier (edited June 26, 2001).]
 
PierreArnaud Galiana
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it may work better with javac ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic