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
Post a Comment