Skip to content

Commit bc0490c

Browse files
SONARJAVA-6205 Restrict visibility of utility test methods
1 parent 2530f82 commit bc0490c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaSonarWayProfile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.sonarsource.api.sonarlint.SonarLintSide;
2424

2525
/**
26-
* define built-in profile
26+
* Define the default Sonar way profile.
2727
*/
2828
@SonarLintSide
2929
public class JavaSonarWayProfile extends BuiltInJavaQualityProfile {
@@ -55,7 +55,7 @@ boolean isDefault() {
5555
return true;
5656
}
5757

58-
public static Set<RuleKey> sonarJavaSonarWayRuleKeys() {
58+
static Set<RuleKey> sonarJavaSonarWayRuleKeys() {
5959
return loadRuleKeys(SONAR_WAY_PATH);
6060
}
6161
}

0 commit comments

Comments
 (0)