
org.sonar.l10n.java.rules.java.S114.html Maven / Gradle / Ivy
Why is this an issue?
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
interface names match a provided regular expression.
Noncompliant code example
With the default regular expression ^[A-Z][a-zA-Z0-9]*$
:
public interface myInterface {...} // Noncompliant
Compliant solution
public interface MyInterface {...}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy