sonar-java-plugin: fixing profile name
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 9 Aug 2016 20:58:16 +0000 (22:58 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 9 Aug 2016 20:58:16 +0000 (22:58 +0200)
Sonar/Plugins/sonar-custom-java-plugin/src/main/java/de/example/plugins/custom/java/CustomProfile.java

index a493c5d..f054f53 100644 (file)
@@ -29,7 +29,7 @@ public class CustomProfile extends ProfileDefinition {
 
          @Override
          public RulesProfile createProfile(ValidationMessages messages) {
-           RulesProfile profile = RulesProfile.create("Sonar way", Java.KEY);
+           RulesProfile profile = RulesProfile.create("Custom Java Profile", Java.KEY);
            URL resource = JavaRulesDefinition.class.getResource("/org/sonar/l10n/java/rules/custom/Custom_profile.json");
            Profile jsonProfile = gson.fromJson(readResource(resource), Profile.class);
            Map<String, String> keys = legacyKeys();