You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Java compiler must produce a deprecation warning when a type, method, field, or constructor whose declaration is annotated with @Deprecated is used (overridden, invoked, or referenced by name) in a construct which is explicitly or implicitly declared, unless:
The use is within an entity that is itself annotated with the annotation @Deprecated; or
The use is within an entity that is annotated to suppress the warning with the annotation @SuppressWarnings("deprecation"); or
The use and declaration are both within the same outermost class.
Spring Java Format currently disables deprecation warnings when overriding deprecated methods. We should enable it so that Eclipse's behaviour is JLS-compliant by default.
The text was updated successfully, but these errors were encountered:
The JLS says the following:
Spring Java Format currently disables deprecation warnings when overriding deprecated methods. We should enable it so that Eclipse's behaviour is JLS-compliant by default.
The text was updated successfully, but these errors were encountered: