deprecation
This commit is contained in:
parent
12f814488b
commit
8db563d9f9
@ -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…
x
Reference in New Issue
Block a user