Merge pull request #13529 from ulisseslima/bael-4143-quickfix_supress-deprecation

BAEL-4143 - quick fix - @SuppressWarnings("deprecation")
This commit is contained in:
Loredana Crusoveanu
2023-02-23 13:18:33 +02:00
committed by GitHub

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