From: Gustavo Martin Morcuende Date: Tue, 9 Aug 2016 20:58:16 +0000 (+0200) Subject: sonar-java-plugin: fixing profile name X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=44b2b6b87556ba308d4660c4491262b58a4102fe;p=JavaForFun sonar-java-plugin: fixing profile name --- diff --git a/Sonar/Plugins/sonar-custom-java-plugin/src/main/java/de/example/plugins/custom/java/CustomProfile.java b/Sonar/Plugins/sonar-custom-java-plugin/src/main/java/de/example/plugins/custom/java/CustomProfile.java index a493c5d..f054f53 100644 --- a/Sonar/Plugins/sonar-custom-java-plugin/src/main/java/de/example/plugins/custom/java/CustomProfile.java +++ b/Sonar/Plugins/sonar-custom-java-plugin/src/main/java/de/example/plugins/custom/java/CustomProfile.java @@ -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 keys = legacyKeys();