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