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
commit 2f9966916c
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)); list.add(Integer.valueOf(value));
} }
@SuppressWarnings("deprecated") @SuppressWarnings("deprecation")
void suppressDeprecatedWarning() { void suppressDeprecatedWarning() {
ClassWithSuppressWarningsNames cls = new ClassWithSuppressWarningsNames(); ClassWithSuppressWarningsNames cls = new ClassWithSuppressWarningsNames();
cls.deprecatedMethod(); // no warning here cls.deprecatedMethod(); // no warning here