deprecation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user