How do I deprecate a class or method?

John Zukowski

Place the @deprecated tag in the javadoc for the class or method, with a reason why you are deprecting the class or method:

/**
 * @deprecated  As of version 3.5, replaced by
 * fooBar
 * @see #fooBar(String)
 */
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact