Merge pull request #13529 from ulisseslima/bael-4143-quickfix_supress-deprecation
BAEL-4143 - quick fix - @SuppressWarnings("deprecation")
This commit is contained in:
commit
2f9966916c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue