
org.sonar.l10n.java.rules.squid.S00117.html Maven / Gradle / Ivy
Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all local variable and function parameter names match a provided regular expression.
Noncompliant Code Example
public void doSomething(int my_param) {
int LOCAL;
...
}
Compliant Solution
public void doSomething(int myParam) {
int local;
...
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy