All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.java.rules.squid.S1133.html Maven / Gradle / Ivy

There is a newer version: 8.6.0.37351
Show newest version

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