How do i detect the deprecated methods in a program?

Posted by manus91 on Stack Overflow See other posts from Stack Overflow or by manus91
Published on 2010-04-06T06:52:37Z Indexed on 2010/04/06 6:53 UTC
Read the original article Hit count: 184

Filed under:

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 work quite differently.

But I'm not really understand how it works, can anybody help me with this?

© Stack Overflow or respective owner

Related posts about java