deprecation

This commit is contained in:
Ulisses Lima
2023-02-22 22:19:08 -03:00
parent ee4b7d1e89
commit 9c8fd31eed

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