org.sonar.l10n.java.rules.squid.S1133.html Maven / Gradle / Ivy
This rule is meant to be used as a way to track code which is marked as being deprecated.
Deprecated code should eventually be removed.
The following code illustrates this rule:
class Foo {
/**
* @deprecated
*/
public void foo() { // Noncompliant
}
@Deprecated // Noncompliant
public void bar() {
}
public void baz() { // Compliant
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy