While working on a project I need to format my Java code in a specific manner. If it is not formatted in correct way, the build will create problems:
Correct way:
public static void main(String[] args)
{
// Code
}
Incorrect way: //Check the braces
public static void main (String[] args) {
//code
}
Does any one know for this purpose, which checkstyle should be used/configured in Eclipse?