diff options
author | David Gageot <david@gageot.net> | 2012-04-27 17:05:35 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-04-27 17:05:35 +0200 |
commit | b150482f1f4ea43bc42b324994d1d1e852de6320 (patch) | |
tree | 4638118d9a32405ad844c127f38e381d9ef37ae8 /plugins/sonar-checkstyle-plugin/src/main | |
parent | 328e826a6a151128783ee7a3939e206202c6a990 (diff) | |
download | sonarqube-b150482f1f4ea43bc42b324994d1d1e852de6320.tar.gz sonarqube-b150482f1f4ea43bc42b324994d1d1e852de6320.zip |
Code cleaning : Add @Override annotations
Diffstat (limited to 'plugins/sonar-checkstyle-plugin/src/main')
3 files changed, 3 insertions, 0 deletions
diff --git a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java index bbcfdc192a7..700f622bb56 100644 --- a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java +++ b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java @@ -55,6 +55,7 @@ public class CheckstyleProfileExporter extends ProfileExporter { this(new BaseConfiguration()); } + @Override public void exportProfile(RulesProfile profile, Writer writer) { try { ListMultimap<String, ActiveRule> activeRulesByConfigKey = arrangeByConfigKey(profile.getActiveRulesByRepository(CheckstyleConstants.REPOSITORY_KEY)); diff --git a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/SonarWayProfile.java b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/SonarWayProfile.java index d53ae1fb3ec..dc938a32322 100644 --- a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/SonarWayProfile.java +++ b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/SonarWayProfile.java @@ -32,6 +32,7 @@ public final class SonarWayProfile extends ProfileDefinition { this.xmlProfileParser = xmlProfileParser; } + @Override public RulesProfile createProfile(ValidationMessages messages) { return xmlProfileParser.parseResource(getClass().getClassLoader(), "org/sonar/plugins/checkstyle/profile-sonar-way.xml", messages); } diff --git a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/SunConventionsProfile.java b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/SunConventionsProfile.java index 290c368f680..2a926fcfe66 100644 --- a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/SunConventionsProfile.java +++ b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/SunConventionsProfile.java @@ -33,6 +33,7 @@ public final class SunConventionsProfile extends ProfileDefinition { } + @Override public RulesProfile createProfile(ValidationMessages messages) { return xmlProfileParser.parseResource(getClass().getClassLoader(), "org/sonar/plugins/checkstyle/profile-sun-conventions.xml", messages); } |