diff options
author | Dinesh Bolkensteyn <dinesh@dinsoft.net> | 2013-08-29 16:09:23 +0200 |
---|---|---|
committer | Dinesh Bolkensteyn <dinesh@dinsoft.net> | 2013-08-29 16:09:23 +0200 |
commit | f295be020a090f4681e8da0ece96ddb18d3e66c4 (patch) | |
tree | 15b7fd59abf794b6f0a8790059788f5acadbf5a9 /plugins | |
parent | 831860a0885b5d93da6e4af02200910defe60404 (diff) | |
download | sonarqube-f295be020a090f4681e8da0ece96ddb18d3e66c4.tar.gz sonarqube-f295be020a090f4681e8da0ece96ddb18d3e66c4.zip |
Fix some quality flaws
Diffstat (limited to 'plugins')
22 files changed, 22 insertions, 22 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/charts/XradarChart.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/charts/XradarChart.java index 29716ada3e2..b12515ee0ba 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/charts/XradarChart.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/charts/XradarChart.java @@ -83,4 +83,4 @@ public class XradarChart extends AbstractChart { } return set; } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectHotspotDashboard.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectHotspotDashboard.java index d064b6626e1..e6dc4904b0e 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectHotspotDashboard.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectHotspotDashboard.java @@ -75,4 +75,4 @@ public final class ProjectHotspotDashboard extends DashboardTemplate { widget.setProperty(METRIC_PROPERTY, "public_undocumented_api"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectIssuesDashboard.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectIssuesDashboard.java index 853fa090f22..6ccbd79f422 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectIssuesDashboard.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectIssuesDashboard.java @@ -55,4 +55,4 @@ public final class ProjectIssuesDashboard extends DashboardTemplate { dashboard.addWidget("false_positive_reviews", 2); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/package-info.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/package-info.java index ee52445a2d0..5db16ce1a3a 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/package-info.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.plugins.core.issue.notification; -import javax.annotation.ParametersAreNonnullByDefault;
\ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/package-info.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/package-info.java index 416eaebe77d..6202ca0b214 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/package-info.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.plugins.core.issue; -import javax.annotation.ParametersAreNonnullByDefault;
\ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java index 05d69688539..d1340020596 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/DirectoriesDecorator.java @@ -65,4 +65,4 @@ public final class DirectoriesDecorator implements Decorator { } } } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/UnitTestDecorator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/UnitTestDecorator.java index 54821265d90..1239c685ccc 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/UnitTestDecorator.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/UnitTestDecorator.java @@ -91,4 +91,4 @@ public class UnitTestDecorator implements Decorator { public String toString() { return getClass().getSimpleName(); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/AlertsWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/AlertsWidget.java index 26c7e2623ff..d272a82bee1 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/AlertsWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/AlertsWidget.java @@ -29,4 +29,4 @@ public class AlertsWidget extends CoreWidget { super("alerts", "Alerts", "/org/sonar/plugins/core/widgets/alerts.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/ComplexityWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/ComplexityWidget.java index 0050f1b8c73..2e95a550c4e 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/ComplexityWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/ComplexityWidget.java @@ -24,4 +24,4 @@ public class ComplexityWidget extends CoreWidget { public ComplexityWidget() { super("complexity", "Complexity", "/org/sonar/plugins/core/widgets/complexity.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/CoverageWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/CoverageWidget.java index f28fe62e448..8efe98a7bae 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/CoverageWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/CoverageWidget.java @@ -29,4 +29,4 @@ public class CoverageWidget extends CoreWidget { public CoverageWidget() { super("code_coverage", "Code coverage", "/org/sonar/plugins/core/widgets/coverage.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/DescriptionWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/DescriptionWidget.java index b9e5e8779cf..94f2e5a9377 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/DescriptionWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/DescriptionWidget.java @@ -28,4 +28,4 @@ public class DescriptionWidget extends CoreWidget { public DescriptionWidget() { super("description", "Description", "/org/sonar/plugins/core/widgets/description.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/EventsWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/EventsWidget.java index 70e2f345a60..3727f092770 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/EventsWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/EventsWidget.java @@ -24,4 +24,4 @@ public class EventsWidget extends CoreWidget { public EventsWidget() { super("events", "Events", "/org/sonar/plugins/core/widgets/events.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/HotspotMetricWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/HotspotMetricWidget.java index e5e5332c0e2..448033b4579 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/HotspotMetricWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/HotspotMetricWidget.java @@ -34,4 +34,4 @@ public class HotspotMetricWidget extends CoreWidget { public HotspotMetricWidget() { super("hotspot_metric", "Metric hotspot", "/org/sonar/plugins/core/widgets/hotspots/hotspot_metric.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/HotspotMostViolatedResourcesWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/HotspotMostViolatedResourcesWidget.java index b5ddecfe5d0..90ebf7375a6 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/HotspotMostViolatedResourcesWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/HotspotMostViolatedResourcesWidget.java @@ -33,4 +33,4 @@ public class HotspotMostViolatedResourcesWidget extends CoreWidget { public HotspotMostViolatedResourcesWidget() { super("hotspot_most_violated_resources", "Most violated resources", "/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_resources.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/RulesWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/RulesWidget.java index 891008b0ddf..07d6da8143d 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/RulesWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/RulesWidget.java @@ -27,4 +27,4 @@ public class RulesWidget extends CoreWidget { public RulesWidget() { super("rules", "Rules Compliance", "/org/sonar/plugins/core/widgets/rules.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/issues/UnresolvedIssuesPerAssigneeWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/issues/UnresolvedIssuesPerAssigneeWidget.java index 49506c35283..408030e4929 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/issues/UnresolvedIssuesPerAssigneeWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/issues/UnresolvedIssuesPerAssigneeWidget.java @@ -27,4 +27,4 @@ public class UnresolvedIssuesPerAssigneeWidget extends CoreWidget { public UnresolvedIssuesPerAssigneeWidget() { super("reviews_per_developer", "Unresolved issues per assignee", "/org/sonar/plugins/core/widgets/issues/unresolved_issues_per_assignee.html.erb"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/DistributionAreaChartTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/DistributionAreaChartTest.java index a8a8bf5643b..c1610289389 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/DistributionAreaChartTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/DistributionAreaChartTest.java @@ -60,4 +60,4 @@ public class DistributionAreaChartTest extends AbstractChartTest { assertChartSizeGreaterThan(image, 1000); saveChart(image, "DistributionAreaChartTest/manySeriesIncludingAnEmptySerie.png"); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/XradarChartTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/XradarChartTest.java index 05f2dae695b..d957b016ba3 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/XradarChartTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/XradarChartTest.java @@ -47,4 +47,4 @@ public class XradarChartTest extends AbstractChartTest { // you have to check visually that it does not work ! Min value is 0. This is a limitation of JFreeChart. assertChartSizeGreaterThan(img, 50); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/WeightedIssuesDecoratorTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/WeightedIssuesDecoratorTest.java index 82ece35ea5c..5fb3f0f70cc 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/WeightedIssuesDecoratorTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/WeightedIssuesDecoratorTest.java @@ -90,4 +90,4 @@ public class WeightedIssuesDecoratorTest { assertThat(decorator.getWeightsBySeverity().get(RulePriority.MAJOR)).isEqualTo(1); } -}
\ No newline at end of file +} diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java index 90e00a55381..e75b14c65ae 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java @@ -42,4 +42,4 @@ public class GwtDesignPage extends GwtPage { return "Design"; } -}
\ No newline at end of file +} diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java index 891487b7f7d..854f8a7abcb 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java @@ -40,4 +40,4 @@ public final class FileDesignWidget extends AbstractRubyTemplate implements Ruby protected String getTemplatePath() { return "/org/sonar/plugins/design/ui/widgets/file_design.html.erb"; } -}
\ No newline at end of file +} diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java index b9d72050d33..ae7c10ab56f 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java @@ -40,4 +40,4 @@ public final class PackageDesignWidget extends AbstractRubyTemplate implements R protected String getTemplatePath() { return "/org/sonar/plugins/design/ui/widgets/package_design.html.erb"; } -}
\ No newline at end of file +} |