What do these lines in my Java or Android project mean?
@SuppressWarnings("deprecation") @SuppressWarnings("unused")
The @SuppressWarnings annotation disables certain compiler warnings. In this case, the warning about deprecated code ("deprecation") and unused local variables or unused private methods ("unused"). This article explains the possible values.
@SuppressWarnings
"deprecation"
"unused"
2.1m questions
2.1m answers
60 comments
57.0k users