How do i detect the deprecated methods in a program?
- by manus91
I've searched through the web and what I've found out is this:
To make the compiler warn you of the details of which methods you used that were deprecated use the javac.exe -deprecation switch. Then look in the Javadoc for the deprecated methods to find out the recommended replacements. Sometimes you just have to rename. Sometimes the replacements…