java - Best practice for signaling that a method is deprecated? -


this question has answer here:

i have method in 1 of classes don't want used more. breaks encapsulation, , have better methods want used instead.

what's best practice signaling method deprecated?

add @deprecated annotation method , tell witch other classes use in javadoc.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -