org.sonar.l10n.java.rules.squid.S00120.html Maven / Gradle / Ivy
Shared coding conventions allow teams to collaborate efficiently. This rule checks that all package names match a provided regular expression.
Noncompliant Code Example
With the default regular expression ^[a-z]+(\.[a-z][a-z0-9]*)*$
:
package org.exAmple; // Noncompliant
Compliant Solution
package org.example;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy