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

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

Proper indentation is a simple and effective way to improve the code's readability. Consistent indentation among developers also reduces the differences that are committed to source control systems, making code reviews easier.

The following code illustrates this rule with an indentation level of 2:

class Foo {
  public int a; // Compliant
public int b;   // Non-Compliant
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy