deprecation

This commit is contained in:
Ulisses Lima 2023-02-22 22:19:08 -03:00
parent 12f814488b
commit 8db563d9f9
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public class ClassWithSuppressWarningsNames implements Serializable {
list.add(Integer.valueOf(value));
}
@SuppressWarnings("deprecated")
@SuppressWarnings("deprecation")
void suppressDeprecatedWarning() {
ClassWithSuppressWarningsNames cls = new ClassWithSuppressWarningsNames();
cls.deprecatedMethod(); // no warning here