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

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

The newest version!

Shared coding conventions make it possible to collaborate efficiently. This rule make it mandatory to place the open curly brace at the beginning of a line.

The following code snippet illustrates this rule:

public void myMethod 
{                                               //Compliant
  if(something)
  {                                             //Compliant
    executeTask();
  } else {                                    //Non-Compliant
    doSomethingElse();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy