diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-04-01 23:56:50 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-04-01 23:56:50 +0200 |
commit | 9380e275b3c6267ef3b958e5a0127dd924cab493 (patch) | |
tree | d716d7a0ee7c98bff298261a8573585636537fe1 /plugins | |
parent | 181e104170afc8019cac4fb906bc292320df0da0 (diff) | |
download | sonarqube-9380e275b3c6267ef3b958e5a0127dd924cab493.tar.gz sonarqube-9380e275b3c6267ef3b958e5a0127dd924cab493.zip |
Fix some violations
Diffstat (limited to 'plugins')
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sonar-cobertura-plugin/src/main/java/org/sonar/plugins/cobertura/api/CoberturaUtils.java b/plugins/sonar-cobertura-plugin/src/main/java/org/sonar/plugins/cobertura/api/CoberturaUtils.java index 129d1ac4b91..98ba2bb0cf6 100644 --- a/plugins/sonar-cobertura-plugin/src/main/java/org/sonar/plugins/cobertura/api/CoberturaUtils.java +++ b/plugins/sonar-cobertura-plugin/src/main/java/org/sonar/plugins/cobertura/api/CoberturaUtils.java @@ -32,8 +32,8 @@ import java.io.File; */ public final class CoberturaUtils { - public static String COBERTURA_GROUP_ID = MavenUtils.GROUP_ID_CODEHAUS_MOJO; - public static String COBERTURA_ARTIFACT_ID = "cobertura-maven-plugin"; + public static final String COBERTURA_GROUP_ID = MavenUtils.GROUP_ID_CODEHAUS_MOJO; + public static final String COBERTURA_ARTIFACT_ID = "cobertura-maven-plugin"; public static File getReport(Project project) { File report = getReportFromProperty(project); diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/charts/DistributionBarChart.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/charts/DistributionBarChart.java index 58d2f3cbf85..4cac585fe9f 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/charts/DistributionBarChart.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/charts/DistributionBarChart.java @@ -69,7 +69,7 @@ public class DistributionBarChart extends AbstractChart { return plot; } - private void configureValues(DefaultCategoryDataset dataset, String[] series, String xSuffix) { + static void configureValues(DefaultCategoryDataset dataset, String[] series, String xSuffix) { int index = 0; while (index < series.length) { String[] pairs = StringUtils.split(series[index], ";"); |