Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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 ;)
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!