Modifiers should be declared in the correct order

squid : ModifiersOrderCheck

The Java Language Specification recommends listing modifiers in the following order:

Not following this convention has no technical impact, but will reduce the code's readability because most developers are used to the standard order.

The following code:

static public void main(String[] args) {   // Non-Compliant
}

should be refactored into:

public static void main(String[] args) {   // Compliant
}