[ACCEPTED]-Can I mark a function as deprecated in Scala?-deprecated
Accepted answer
I didn't notice the comment, kristian-domagala, so 1 here is the example:
@deprecated("Reason this is old","01-08-2014")
def oldMethod = {
...
}
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.