From f295be020a090f4681e8da0ece96ddb18d3e66c4 Mon Sep 17 00:00:00 2001 From: Dinesh Bolkensteyn Date: Thu, 29 Aug 2013 16:09:23 +0200 Subject: [PATCH] Fix some quality flaws --- .../main/java/org/sonar/plugins/core/charts/XradarChart.java | 2 +- .../sonar/plugins/core/dashboards/ProjectHotspotDashboard.java | 2 +- .../sonar/plugins/core/dashboards/ProjectIssuesDashboard.java | 2 +- .../org/sonar/plugins/core/issue/notification/package-info.java | 2 +- .../main/java/org/sonar/plugins/core/issue/package-info.java | 2 +- .../org/sonar/plugins/core/sensors/DirectoriesDecorator.java | 2 +- .../java/org/sonar/plugins/core/sensors/UnitTestDecorator.java | 2 +- .../main/java/org/sonar/plugins/core/widgets/AlertsWidget.java | 2 +- .../java/org/sonar/plugins/core/widgets/ComplexityWidget.java | 2 +- .../java/org/sonar/plugins/core/widgets/CoverageWidget.java | 2 +- .../java/org/sonar/plugins/core/widgets/DescriptionWidget.java | 2 +- .../main/java/org/sonar/plugins/core/widgets/EventsWidget.java | 2 +- .../org/sonar/plugins/core/widgets/HotspotMetricWidget.java | 2 +- .../core/widgets/HotspotMostViolatedResourcesWidget.java | 2 +- .../main/java/org/sonar/plugins/core/widgets/RulesWidget.java | 2 +- .../core/widgets/issues/UnresolvedIssuesPerAssigneeWidget.java | 2 +- .../sonar/plugins/core/charts/DistributionAreaChartTest.java | 2 +- .../java/org/sonar/plugins/core/charts/XradarChartTest.java | 2 +- .../sonar/plugins/core/issue/WeightedIssuesDecoratorTest.java | 2 +- .../java/org/sonar/plugins/design/ui/page/GwtDesignPage.java | 2 +- .../org/sonar/plugins/design/ui/widgets/FileDesignWidget.java | 2 +- .../sonar/plugins/design/ui/widgets/PackageDesignWidget.java | 2 +- .../org/sonar/batch/components/PastSnapshotFinderByDate.java | 2 +- .../src/main/java/org/sonar/batch/issue/package-info.java | 2 +- .../main/java/org/sonar/batch/scan/filesystem/package-info.java | 2 +- .../src/main/java/Fake.java | 2 +- .../module1/sources/Fake.java | 2 +- .../multi-module-definitions-all-in-root/module2/src/Fake.java | 2 +- .../module1/sources/Fake.java | 2 +- .../module2/newBaseDir/src/Fake.java | 2 +- .../module1/sources/Fake.java | 2 +- .../module2/newBaseDir/src/Fake.java | 2 +- .../multi-module-with-basedir/modules/module1/sources/Fake.java | 2 +- .../any-folder/sources/Fake.java | 2 +- .../multi-module-with-configfile/any-folder/sources/Fake.java | 2 +- .../module1/src/Fake.java | 1 + .../module1/src/Fake.java | 1 + .../module1/src/Fake.java | 1 + .../module1/src/Fake.java | 1 + .../module1/src/Fake.java | 1 + .../simple-project-with-deprecated-props/sources/Fake.java | 2 +- .../simple-project-with-lib-dir/sources/Fake.java | 2 +- .../simple-project-with-unexisting-binary/sources/Fake.java | 2 +- .../simple-project-with-unexisting-lib/sources/Fake.java | 2 +- .../simple-project-with-unexisting-test-dir/sources/Fake.java | 2 +- .../simple-project/sources/Fake.java | 2 +- .../exclude_dir_starting_with_dot/src/org/sonar/Included.java | 2 +- .../main_and_test_files/src/main/java/Foo.java | 2 +- .../main_and_test_files/src/main/java/Hello.java | 2 +- .../main_and_test_files/src/test/java/FooTest.java | 2 +- .../main_and_test_files/src/test/java/HelloTest.java | 2 +- .../src/main/java/org/sonar/channel/ChannelDispatcher.java | 2 +- .../src/main/java/org/sonar/colorizer/HtmlRenderer.java | 2 +- sonar-colorizer/src/main/java/org/sonar/colorizer/Renderer.java | 2 +- .../resources/org/sonar/colorizer/HtmlRendererTest/Sample.java | 2 +- .../src/test/resources/org/sonar/colorizer/samples/Sample.java | 2 +- .../test/resources/org/sonar/colorizer/samples/SingleLine.java | 2 +- .../sonar/api/database/configuration/DatabaseConfiguration.java | 2 +- .../main/java/org/sonar/core/component/ResourceComponent.java | 2 +- .../src/main/java/org/sonar/core/component/package-info.java | 2 +- .../src/main/java/org/sonar/core/graph/jdbc/package-info.java | 2 +- sonar-core/src/main/java/org/sonar/core/graph/package-info.java | 2 +- sonar-core/src/main/java/org/sonar/core/i18n/package-info.java | 2 +- .../src/main/java/org/sonar/core/issue/db/package-info.java | 2 +- sonar-core/src/main/java/org/sonar/core/issue/package-info.java | 2 +- .../src/main/java/org/sonar/core/measure/MeasureFilterDao.java | 2 +- .../main/java/org/sonar/core/notification/db/package-info.java | 2 +- .../src/main/java/org/sonar/core/permission/package-info.java | 2 +- .../src/main/java/org/sonar/core/resource/package-info.java | 2 +- .../src/main/java/org/sonar/core/source/jdbc/package-info.java | 2 +- .../src/main/java/org/sonar/core/source/package-info.java | 2 +- sonar-core/src/main/java/org/sonar/core/test/package-info.java | 2 +- .../java/org/sonar/jpa/session/DefaultDatabaseConnector.java | 2 +- .../java/org/sonar/jpa/session/MemoryDatabaseConnector.java | 2 +- .../test/java/org/sonar/core/measure/MeasureFilterDaoTest.java | 2 +- .../org/sonar/core/qualitymodel/DefaultModelFinderTest.java | 2 +- sonar-graph/src/main/java/org/sonar/graph/Cycle.java | 2 +- sonar-home/src/main/java/org/sonar/home/cache/FileHashes.java | 2 +- .../src/main/java/org/sonar/api/batch/DependsUpon.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/batch/Phase.java | 2 +- .../org/sonar/api/batch/bootstrap/internal/package-info.java | 2 +- .../main/java/org/sonar/api/batch/bootstrap/package-info.java | 2 +- .../main/java/org/sonar/api/component/mock/package-info.java | 2 +- .../src/main/java/org/sonar/api/component/package-info.java | 2 +- .../main/java/org/sonar/api/config/internal/package-info.java | 2 +- .../src/main/java/org/sonar/api/config/package-info.java | 2 +- .../main/java/org/sonar/api/database/DatabaseProperties.java | 2 +- .../src/main/java/org/sonar/api/i18n/package-info.java | 2 +- .../src/main/java/org/sonar/api/issue/action/package-info.java | 2 +- .../main/java/org/sonar/api/issue/condition/package-info.java | 2 +- .../main/java/org/sonar/api/issue/internal/package-info.java | 2 +- .../src/main/java/org/sonar/api/issue/package-info.java | 2 +- .../src/main/java/org/sonar/api/measures/FormulaContext.java | 2 +- .../src/main/java/org/sonar/api/measures/MeasureBuilder.java | 2 +- .../src/main/java/org/sonar/api/platform/package-info.java | 2 +- .../src/main/java/org/sonar/api/profiles/ProfileDefinition.java | 2 +- .../src/main/java/org/sonar/api/resources/File.java | 2 +- .../src/main/java/org/sonar/api/resources/JavaPackage.java | 2 +- .../src/main/java/org/sonar/api/resources/ProjectLink.java | 2 +- .../src/main/java/org/sonar/api/resources/Qualifiers.java | 2 +- .../src/main/java/org/sonar/api/resources/Scopes.java | 2 +- .../src/main/java/org/sonar/api/rule/package-info.java | 2 +- .../src/main/java/org/sonar/api/rules/RuleParam.java | 2 +- .../main/java/org/sonar/api/scan/filesystem/package-info.java | 2 +- .../src/main/java/org/sonar/api/security/package-info.java | 2 +- .../src/main/java/org/sonar/api/source/package-info.java | 2 +- .../src/main/java/org/sonar/api/test/package-info.java | 2 +- .../src/main/java/org/sonar/api/user/package-info.java | 2 +- .../src/main/java/org/sonar/api/web/ResourceScope.java | 2 +- .../src/main/java/org/sonar/api/web/RubyRailsPage.java | 2 +- .../src/main/java/org/sonar/api/web/RubyRailsWebservice.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java | 2 +- .../src/main/java/org/sonar/api/web/Webservice.java | 2 +- .../src/main/java/org/sonar/api/web/WidgetLayoutType.java | 2 +- .../src/test/java/org/sonar/api/batch/SquidUtilsTest.java | 2 +- .../src/test/java/org/sonar/api/utils/AnnotationUtilsTest.java | 2 +- .../sample/src/main/java/foo/Bar.java | 2 +- .../sample/src/main/java/foo/Whizz.java | 2 +- .../sample/src/test/java/foo/BarTest.java | 2 +- .../AbstractSourceImporterTest/encoding/CP1252Encoding.java | 2 +- .../AbstractSourceImporterTest/encoding/MacRomanEncoding.java | 2 +- .../src/org/sonar/Included.java | 2 +- .../java/org/sonar/server/charts/deprecated/BaseChartWeb.java | 2 +- .../java/org/sonar/server/charts/deprecated/CustomBarChart.java | 2 +- .../main/java/org/sonar/server/charts/deprecated/PieChart.java | 2 +- .../org/sonar/server/charts/deprecated/SparkLinesChart.java | 2 +- .../main/java/org/sonar/server/db/migrations/package-info.java | 2 +- .../src/main/java/org/sonar/server/db/package-info.java | 2 +- .../src/main/java/org/sonar/server/issue/AssignAction.java | 2 +- .../src/main/java/org/sonar/server/issue/CommentAction.java | 2 +- .../java/org/sonar/server/issue/InternalRubyIssueService.java | 2 +- .../src/main/java/org/sonar/server/issue/PlanAction.java | 2 +- .../src/main/java/org/sonar/server/issue/SetSeverityAction.java | 2 +- .../src/main/java/org/sonar/server/issue/TransitionAction.java | 2 +- .../src/main/java/org/sonar/server/issue/package-info.java | 2 +- .../src/main/java/org/sonar/server/permission/package-info.java | 2 +- .../java/org/sonar/server/platform/ServerLifecycleNotifier.java | 2 +- .../src/main/java/org/sonar/server/rule/package-info.java | 2 +- .../java/org/sonar/server/startup/ServerMetadataPersister.java | 2 +- .../src/main/java/org/sonar/server/startup/package-info.java | 2 +- .../src/main/java/org/sonar/server/user/NewUserNotifier.java | 2 +- .../src/main/java/org/sonar/server/user/package-info.java | 2 +- .../src/main/java/org/sonar/server/util/package-info.java | 2 +- .../src/test/java/org/sonar/server/charts/ChartFactoryTest.java | 2 +- .../org/sonar/server/charts/deprecated/BaseChartWebTest.java | 2 +- .../org/sonar/server/charts/deprecated/CustomBarChartTest.java | 2 +- .../java/org/sonar/server/charts/deprecated/PieChartTest.java | 2 +- .../org/sonar/server/charts/deprecated/SparkLinesChartTest.java | 2 +- .../src/test/java/org/sonar/server/issue/AssignActionTest.java | 2 +- .../src/test/java/org/sonar/server/issue/PlanActionTest.java | 2 +- .../java/org/sonar/server/plugins/UpdateCenterClientTest.java | 2 +- .../org/sonar/server/qualitymodel/DefaultModelManagerTest.java | 2 +- sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java | 2 +- .../src/main/java/org/sonar/squid/api/SquidConfiguration.java | 2 +- .../src/main/java/org/sonar/wsclient/base/package-info.java | 2 +- .../main/java/org/sonar/wsclient/component/package-info.java | 2 +- .../main/java/org/sonar/wsclient/connectors/package-info.java | 2 +- .../src/main/java/org/sonar/wsclient/internal/package-info.java | 2 +- .../java/org/sonar/wsclient/issue/internal/package-info.java | 2 +- .../src/main/java/org/sonar/wsclient/issue/package-info.java | 2 +- .../src/main/java/org/sonar/wsclient/package-info.java | 2 +- .../org/sonar/wsclient/permissions/internal/package-info.java | 2 +- .../main/java/org/sonar/wsclient/permissions/package-info.java | 2 +- .../src/main/java/org/sonar/wsclient/rule/package-info.java | 2 +- .../main/java/org/sonar/wsclient/services/AbstractQuery.java | 2 +- .../src/main/java/org/sonar/wsclient/services/Query.java | 2 +- .../src/main/java/org/sonar/wsclient/services/package-info.java | 2 +- .../java/org/sonar/wsclient/unmarshallers/package-info.java | 2 +- .../java/org/sonar/wsclient/user/internal/package-info.java | 2 +- .../src/main/java/org/sonar/wsclient/user/package-info.java | 2 +- .../test/java/org/sonar/wsclient/MockHttpServerInterceptor.java | 2 +- .../src/test/java/org/sonar/wsclient/ServerServlet.java | 2 +- .../sonar/wsclient/services/ManualMeasureCreateQueryTest.java | 2 +- .../sonar/wsclient/services/ManualMeasureDeleteQueryTest.java | 2 +- .../org/sonar/wsclient/services/ProjectDeleteQueryTest.java | 2 +- .../org/sonar/wsclient/services/PropertyCreateQueryTest.java | 2 +- .../org/sonar/wsclient/services/PropertyDeleteQueryTest.java | 2 +- 177 files changed, 177 insertions(+), 172 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 +} diff --git a/sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByDate.java b/sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByDate.java index 3767e174b39..0d685dae152 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByDate.java +++ b/sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByDate.java @@ -60,4 +60,4 @@ public class PastSnapshotFinderByDate implements BatchExtension { return snapshots.isEmpty() ? null : snapshots.get(0); } -} \ No newline at end of file +} diff --git a/sonar-batch/src/main/java/org/sonar/batch/issue/package-info.java b/sonar-batch/src/main/java/org/sonar/batch/issue/package-info.java index ba50bc44211..8b4cb5bf919 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/issue/package-info.java +++ b/sonar-batch/src/main/java/org/sonar/batch/issue/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.batch.issue; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/package-info.java b/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/package-info.java index f8ece523c7b..1550e93fea3 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/package-info.java +++ b/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/package-info.java @@ -24,4 +24,4 @@ @ParametersAreNonnullByDefault package org.sonar.batch.scan.filesystem; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-language-definitions-all-in-root/src/main/java/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-language-definitions-all-in-root/src/main/java/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-language-definitions-all-in-root/src/main/java/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-language-definitions-all-in-root/src/main/java/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-all-in-root/module1/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-all-in-root/module1/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-all-in-root/module1/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-all-in-root/module1/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-all-in-root/module2/src/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-all-in-root/module2/src/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-all-in-root/module2/src/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-all-in-root/module2/src/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module-inherited/module1/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module-inherited/module1/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module-inherited/module1/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module-inherited/module1/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module-inherited/module2/newBaseDir/src/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module-inherited/module2/newBaseDir/src/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module-inherited/module2/newBaseDir/src/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module-inherited/module2/newBaseDir/src/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module/module1/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module/module1/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module/module1/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module/module1/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module/module2/newBaseDir/src/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module/module2/newBaseDir/src/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module/module2/newBaseDir/src/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-definitions-in-each-module/module2/newBaseDir/src/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-basedir/modules/module1/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-basedir/modules/module1/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-basedir/modules/module1/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-basedir/modules/module1/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-configfile-and-overwritten-basedir/any-folder/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-configfile-and-overwritten-basedir/any-folder/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-configfile-and-overwritten-basedir/any-folder/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-configfile-and-overwritten-basedir/any-folder/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-configfile/any-folder/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-configfile/any-folder/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-configfile/any-folder/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-configfile/any-folder/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-binary-dir/module1/src/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-binary-dir/module1/src/Fake.java index e69de29bb2d..8b137891791 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-binary-dir/module1/src/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-binary-dir/module1/src/Fake.java @@ -0,0 +1 @@ + diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-lib/module1/src/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-lib/module1/src/Fake.java index e69de29bb2d..8b137891791 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-lib/module1/src/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-lib/module1/src/Fake.java @@ -0,0 +1 @@ + diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-test-dir/module1/src/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-test-dir/module1/src/Fake.java index e69de29bb2d..8b137891791 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-test-dir/module1/src/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-explicit-unexisting-test-dir/module1/src/Fake.java @@ -0,0 +1 @@ + diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-unexisting-source-dir/module1/src/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-unexisting-source-dir/module1/src/Fake.java index e69de29bb2d..8b137891791 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-unexisting-source-dir/module1/src/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-unexisting-source-dir/module1/src/Fake.java @@ -0,0 +1 @@ + diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-unexisting-test-bin-lib-dir/module1/src/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-unexisting-test-bin-lib-dir/module1/src/Fake.java index e69de29bb2d..8b137891791 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-unexisting-test-bin-lib-dir/module1/src/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/multi-module-with-unexisting-test-bin-lib-dir/module1/src/Fake.java @@ -0,0 +1 @@ + diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-deprecated-props/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-deprecated-props/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-deprecated-props/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-deprecated-props/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-lib-dir/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-lib-dir/sources/Fake.java index bf2c3a09e07..b2722353bea 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-lib-dir/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-lib-dir/sources/Fake.java @@ -1,3 +1,3 @@ package org.sonar.runner.batch.ProjectReactorBuilderTest.simple -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-binary/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-binary/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-binary/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-binary/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-lib/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-lib/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-lib/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-lib/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-test-dir/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-test-dir/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-test-dir/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project-with-unexisting-test-dir/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project/sources/Fake.java b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project/sources/Fake.java index 5967658d071..b2e6462a3f9 100644 --- a/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project/sources/Fake.java +++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/DefaultProjectBootstrapperTest/simple-project/sources/Fake.java @@ -1 +1 @@ -Fake \ No newline at end of file +Fake diff --git a/sonar-batch/test-resources/DefaultModuleFileSystemTest/exclude_dir_starting_with_dot/src/org/sonar/Included.java b/sonar-batch/test-resources/DefaultModuleFileSystemTest/exclude_dir_starting_with_dot/src/org/sonar/Included.java index 78e1aabbba7..ec5235a301b 100644 --- a/sonar-batch/test-resources/DefaultModuleFileSystemTest/exclude_dir_starting_with_dot/src/org/sonar/Included.java +++ b/sonar-batch/test-resources/DefaultModuleFileSystemTest/exclude_dir_starting_with_dot/src/org/sonar/Included.java @@ -1,3 +1,3 @@ package org.sonar; -public class Included {} \ No newline at end of file +public class Included {} diff --git a/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/main/java/Foo.java b/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/main/java/Foo.java index f72abf33fa2..4e6a6de6531 100644 --- a/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/main/java/Foo.java +++ b/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/main/java/Foo.java @@ -1 +1 @@ -class Foo {} \ No newline at end of file +class Foo {} diff --git a/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/main/java/Hello.java b/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/main/java/Hello.java index 449be99af71..6afc99f0d36 100644 --- a/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/main/java/Hello.java +++ b/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/main/java/Hello.java @@ -1 +1 @@ -public class Hello {} \ No newline at end of file +public class Hello {} diff --git a/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/test/java/FooTest.java b/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/test/java/FooTest.java index 31eebff6972..6f74bf43d13 100644 --- a/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/test/java/FooTest.java +++ b/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/test/java/FooTest.java @@ -1 +1 @@ -class FooTest {} \ No newline at end of file +class FooTest {} diff --git a/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/test/java/HelloTest.java b/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/test/java/HelloTest.java index 901b93a5cb4..2e1392f9e59 100644 --- a/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/test/java/HelloTest.java +++ b/sonar-batch/test-resources/DefaultModuleFileSystemTest/main_and_test_files/src/test/java/HelloTest.java @@ -1 +1 @@ -public class HelloTest {} \ No newline at end of file +public class HelloTest {} diff --git a/sonar-channel/src/main/java/org/sonar/channel/ChannelDispatcher.java b/sonar-channel/src/main/java/org/sonar/channel/ChannelDispatcher.java index 66e6bb04fb8..b04e84dd644 100644 --- a/sonar-channel/src/main/java/org/sonar/channel/ChannelDispatcher.java +++ b/sonar-channel/src/main/java/org/sonar/channel/ChannelDispatcher.java @@ -138,4 +138,4 @@ public class ChannelDispatcher extends Channel { } } -} \ No newline at end of file +} diff --git a/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlRenderer.java b/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlRenderer.java index a3b5c289f4c..a46220c1c2e 100644 --- a/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlRenderer.java +++ b/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlRenderer.java @@ -62,4 +62,4 @@ public class HtmlRenderer extends Renderer { throw new SynhtaxHighlightingException("Can not render code", e); } } -} \ No newline at end of file +} diff --git a/sonar-colorizer/src/main/java/org/sonar/colorizer/Renderer.java b/sonar-colorizer/src/main/java/org/sonar/colorizer/Renderer.java index a1b1378bd0e..259cf05bd48 100644 --- a/sonar-colorizer/src/main/java/org/sonar/colorizer/Renderer.java +++ b/sonar-colorizer/src/main/java/org/sonar/colorizer/Renderer.java @@ -28,4 +28,4 @@ public abstract class Renderer { public abstract String render(Reader code, List> tokenizers); -} \ No newline at end of file +} diff --git a/sonar-colorizer/src/test/resources/org/sonar/colorizer/HtmlRendererTest/Sample.java b/sonar-colorizer/src/test/resources/org/sonar/colorizer/HtmlRendererTest/Sample.java index 6f8b935e1ae..f2377b733f5 100644 --- a/sonar-colorizer/src/test/resources/org/sonar/colorizer/HtmlRendererTest/Sample.java +++ b/sonar-colorizer/src/test/resources/org/sonar/colorizer/HtmlRendererTest/Sample.java @@ -14,4 +14,4 @@ public class Sample { } return "bar"; } -} \ No newline at end of file +} diff --git a/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/Sample.java b/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/Sample.java index f736b368147..2480c7afce4 100644 --- a/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/Sample.java +++ b/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/Sample.java @@ -49,4 +49,4 @@ public class Sample { @Target(ElementType.METHOD) @interface Foo { -} \ No newline at end of file +} diff --git a/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/SingleLine.java b/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/SingleLine.java index a9d082df1e6..bb24835cc0d 100644 --- a/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/SingleLine.java +++ b/sonar-colorizer/src/test/resources/org/sonar/colorizer/samples/SingleLine.java @@ -1 +1 @@ -package org.sonar.colorizer.samples; \ No newline at end of file +package org.sonar.colorizer.samples; diff --git a/sonar-core/src/main/java/org/sonar/api/database/configuration/DatabaseConfiguration.java b/sonar-core/src/main/java/org/sonar/api/database/configuration/DatabaseConfiguration.java index 0adb6532385..88609bbeec4 100644 --- a/sonar-core/src/main/java/org/sonar/api/database/configuration/DatabaseConfiguration.java +++ b/sonar-core/src/main/java/org/sonar/api/database/configuration/DatabaseConfiguration.java @@ -72,4 +72,4 @@ public class DatabaseConfiguration extends BaseConfiguration { } return sessionFactory.getSession(); } -} \ No newline at end of file +} diff --git a/sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java b/sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java index 339cc935d7d..3307fb82051 100644 --- a/sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java +++ b/sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java @@ -82,4 +82,4 @@ public class ResourceComponent implements Component { public Long resourceId() { return resourceId; } -} \ No newline at end of file +} diff --git a/sonar-core/src/main/java/org/sonar/core/component/package-info.java b/sonar-core/src/main/java/org/sonar/core/component/package-info.java index ccd1b58901c..366f983539b 100644 --- a/sonar-core/src/main/java/org/sonar/core/component/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/component/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.component; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/graph/jdbc/package-info.java b/sonar-core/src/main/java/org/sonar/core/graph/jdbc/package-info.java index 111de11abd1..12b332aa7da 100644 --- a/sonar-core/src/main/java/org/sonar/core/graph/jdbc/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/graph/jdbc/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.graph.jdbc; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/graph/package-info.java b/sonar-core/src/main/java/org/sonar/core/graph/package-info.java index 5808ad6d55e..1d4ec573ebe 100644 --- a/sonar-core/src/main/java/org/sonar/core/graph/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/graph/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.graph; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/i18n/package-info.java b/sonar-core/src/main/java/org/sonar/core/i18n/package-info.java index 102c799b2be..f30f882d44e 100644 --- a/sonar-core/src/main/java/org/sonar/core/i18n/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/i18n/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.i18n; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/issue/db/package-info.java b/sonar-core/src/main/java/org/sonar/core/issue/db/package-info.java index 9dc2053b001..4cba5c806ac 100644 --- a/sonar-core/src/main/java/org/sonar/core/issue/db/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/issue/db/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.issue.db; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/issue/package-info.java b/sonar-core/src/main/java/org/sonar/core/issue/package-info.java index d640519890d..3514b2fceac 100644 --- a/sonar-core/src/main/java/org/sonar/core/issue/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/issue/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.issue; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterDao.java b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterDao.java index 139e5c11b5f..d1f355c6239 100644 --- a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterDao.java +++ b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterDao.java @@ -54,4 +54,4 @@ public class MeasureFilterDao implements BatchComponent, ServerComponent { MyBatis.closeQuietly(session); } } -} \ No newline at end of file +} diff --git a/sonar-core/src/main/java/org/sonar/core/notification/db/package-info.java b/sonar-core/src/main/java/org/sonar/core/notification/db/package-info.java index f33c44e5652..2551450cf6c 100644 --- a/sonar-core/src/main/java/org/sonar/core/notification/db/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/notification/db/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.notification.db; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/permission/package-info.java b/sonar-core/src/main/java/org/sonar/core/permission/package-info.java index 78344ab013d..7a288939fae 100644 --- a/sonar-core/src/main/java/org/sonar/core/permission/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/permission/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.permission; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/resource/package-info.java b/sonar-core/src/main/java/org/sonar/core/resource/package-info.java index fc127b0b0e3..5fd56305e3e 100644 --- a/sonar-core/src/main/java/org/sonar/core/resource/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/resource/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.resource; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/source/jdbc/package-info.java b/sonar-core/src/main/java/org/sonar/core/source/jdbc/package-info.java index d099f420fbe..bab795f2365 100644 --- a/sonar-core/src/main/java/org/sonar/core/source/jdbc/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/source/jdbc/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.source.jdbc; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/source/package-info.java b/sonar-core/src/main/java/org/sonar/core/source/package-info.java index 9a046e95d74..01a3135aa74 100644 --- a/sonar-core/src/main/java/org/sonar/core/source/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/source/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.source; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/core/test/package-info.java b/sonar-core/src/main/java/org/sonar/core/test/package-info.java index 76e79f22f2a..e26c88164fd 100644 --- a/sonar-core/src/main/java/org/sonar/core/test/package-info.java +++ b/sonar-core/src/main/java/org/sonar/core/test/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.core.test; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-core/src/main/java/org/sonar/jpa/session/DefaultDatabaseConnector.java b/sonar-core/src/main/java/org/sonar/jpa/session/DefaultDatabaseConnector.java index 7b40978c44f..05d9bd24e47 100644 --- a/sonar-core/src/main/java/org/sonar/jpa/session/DefaultDatabaseConnector.java +++ b/sonar-core/src/main/java/org/sonar/jpa/session/DefaultDatabaseConnector.java @@ -48,4 +48,4 @@ public class DefaultDatabaseConnector extends AbstractDatabaseConnector { public Connection getConnection() throws SQLException { return database != null && database.getDataSource() != null ? database.getDataSource().getConnection() : null; } -} \ No newline at end of file +} diff --git a/sonar-core/src/main/java/org/sonar/jpa/session/MemoryDatabaseConnector.java b/sonar-core/src/main/java/org/sonar/jpa/session/MemoryDatabaseConnector.java index cadcca45742..9776131708c 100644 --- a/sonar-core/src/main/java/org/sonar/jpa/session/MemoryDatabaseConnector.java +++ b/sonar-core/src/main/java/org/sonar/jpa/session/MemoryDatabaseConnector.java @@ -54,4 +54,4 @@ public class MemoryDatabaseConnector extends DefaultDatabaseConnector { } } } -} \ No newline at end of file +} diff --git a/sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDaoTest.java b/sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDaoTest.java index 04e3ffd3098..87445a59996 100644 --- a/sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDaoTest.java +++ b/sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDaoTest.java @@ -65,4 +65,4 @@ public class MeasureFilterDaoTest extends AbstractDaoTestCase { checkTables("shouldInsert", new String[]{"created_at", "updated_at"}, "measure_filters"); } -} \ No newline at end of file +} diff --git a/sonar-core/src/test/java/org/sonar/core/qualitymodel/DefaultModelFinderTest.java b/sonar-core/src/test/java/org/sonar/core/qualitymodel/DefaultModelFinderTest.java index 000d837f254..841c6a5027f 100644 --- a/sonar-core/src/test/java/org/sonar/core/qualitymodel/DefaultModelFinderTest.java +++ b/sonar-core/src/test/java/org/sonar/core/qualitymodel/DefaultModelFinderTest.java @@ -43,4 +43,4 @@ public class DefaultModelFinderTest extends AbstractDbUnitTestCase { DefaultModelFinder provider = new DefaultModelFinder(getSessionFactory()); assertNull(provider.findByName("UNKNOWN")); } -} \ No newline at end of file +} diff --git a/sonar-graph/src/main/java/org/sonar/graph/Cycle.java b/sonar-graph/src/main/java/org/sonar/graph/Cycle.java index b9ca04ebe55..08771384d7e 100644 --- a/sonar-graph/src/main/java/org/sonar/graph/Cycle.java +++ b/sonar-graph/src/main/java/org/sonar/graph/Cycle.java @@ -82,4 +82,4 @@ public class Cycle { } return false; } -} \ No newline at end of file +} diff --git a/sonar-home/src/main/java/org/sonar/home/cache/FileHashes.java b/sonar-home/src/main/java/org/sonar/home/cache/FileHashes.java index 3ddbb7d398c..7755d3dcd39 100644 --- a/sonar-home/src/main/java/org/sonar/home/cache/FileHashes.java +++ b/sonar-home/src/main/java/org/sonar/home/cache/FileHashes.java @@ -76,4 +76,4 @@ public class FileHashes { BigInteger bi = new BigInteger(1, bytes); return String.format("%0" + (bytes.length << 1) + "x", bi); } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/DependsUpon.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/DependsUpon.java index 052525cf2fc..3f01d74f088 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/DependsUpon.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/DependsUpon.java @@ -35,4 +35,4 @@ public @interface DependsUpon { * Used only on classes. Must be keep empty on methods. */ String[] value() default {}; -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/Phase.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/Phase.java index b7ca7f8d71c..72db10051d3 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/Phase.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/Phase.java @@ -36,4 +36,4 @@ public @interface Phase { public enum Name { PRE, DEFAULT, POST } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/internal/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/internal/package-info.java index e238dd1a745..0712332bb11 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/internal/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/internal/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.batch.bootstrap.internal; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/package-info.java index 989acc29cc2..6a74716a0ea 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.batch.bootstrap; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/component/mock/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/component/mock/package-info.java index 6b1e26c3a2f..b4c6725e353 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/component/mock/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/component/mock/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.component.mock; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/component/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/component/package-info.java index 33fcc8d1598..df40f71f6e3 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/component/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/component/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.component; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/config/internal/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/config/internal/package-info.java index 139939481bf..73d50bd7f18 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/config/internal/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/config/internal/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.config.internal; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/config/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/config/package-info.java index 71092605a68..5266d56ec52 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/config/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/config/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.config; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java b/sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java index 79cf3488662..cfe7315336c 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java @@ -46,4 +46,4 @@ public interface DatabaseProperties { * @since 3.2 */ String PROP_EMBEDDED_PORT_DEFAULT_VALUE = "9092"; -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/i18n/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/i18n/package-info.java index 616332a1c32..fb5f9db0f99 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/i18n/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/i18n/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.i18n; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/package-info.java index ba6df125411..99a900aaadb 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.issue.action; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/package-info.java index 50a8f4ef510..05fa74ad98c 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.issue.condition; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/internal/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/internal/package-info.java index 3be812e7dac..b770958969f 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/internal/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/internal/package-info.java @@ -24,4 +24,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.issue.internal; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/package-info.java index 43a55a57882..065044ac6ac 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.issue; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/FormulaContext.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/FormulaContext.java index 67aa4823932..8e5b7de22cc 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/FormulaContext.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/FormulaContext.java @@ -37,4 +37,4 @@ public interface FormulaContext { @Deprecated Configuration getConfiguration(); -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasureBuilder.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasureBuilder.java index 1cc8c209fda..f128bfa163b 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasureBuilder.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasureBuilder.java @@ -26,4 +26,4 @@ package org.sonar.api.measures; */ public interface MeasureBuilder { Measure build(); -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/platform/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/platform/package-info.java index cd718bb619d..48ca6e69269 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/platform/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/platform/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.platform; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java index 02197b16f21..2e1833b86d7 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java @@ -32,4 +32,4 @@ public abstract class ProfileDefinition implements ServerExtension { public abstract RulesProfile createProfile(ValidationMessages validation); -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java index 2b42b6d4d30..6aa786d04e7 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java @@ -222,4 +222,4 @@ public class File extends Resource { .append("language", language) .toString(); } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/JavaPackage.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/JavaPackage.java index f995b197840..51b8d098980 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/JavaPackage.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/JavaPackage.java @@ -126,4 +126,4 @@ public class JavaPackage extends Resource { .append("key", getKey()) .toString(); } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectLink.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectLink.java index e9f9ec7899e..d59bf21070e 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectLink.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectLink.java @@ -127,4 +127,4 @@ public class ProjectLink extends BaseIdentifiable { this.name = link.getName(); this.href = link.getHref(); } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Qualifiers.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Qualifiers.java index e223994c22e..2f3f8c4250f 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Qualifiers.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Qualifiers.java @@ -150,4 +150,4 @@ public final class Qualifiers { public static boolean isParagraph(final Resource resource) { return StringUtils.equals(PARAGRAPH, resource.getQualifier()); } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Scopes.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Scopes.java index f9a0e35146e..9f867ce828b 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Scopes.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Scopes.java @@ -113,4 +113,4 @@ public final class Scopes { int thanIndex = ArrayUtils.indexOf(SORTED_SCOPES, than); return index <= thanIndex; } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rule/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/rule/package-info.java index d7d86ff6bb4..2d354b7c253 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/rule/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/rule/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.rule; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleParam.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleParam.java index 2746c85d728..e848d56775e 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleParam.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleParam.java @@ -159,4 +159,4 @@ public class RuleParam { .append("type", type) .toString(); } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/package-info.java index c60602863d7..9f50c29ded3 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.scan.filesystem; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/security/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/security/package-info.java index bcb391c6edb..2905b6cbc3b 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/security/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/security/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.security; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/source/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/source/package-info.java index fa29a0e231c..9f0b486ce74 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/source/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/source/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.source; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/package-info.java index d03133eb8dd..2d2f8b3df2c 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/test/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.test; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/user/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/user/package-info.java index 90afbfd128c..8d098c521c3 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/user/package-info.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/user/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.api.user; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/ResourceScope.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/ResourceScope.java index 8e46f28b801..5fb0337b023 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/ResourceScope.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/ResourceScope.java @@ -39,4 +39,4 @@ public @interface ResourceScope { */ String[] value() default {}; -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/RubyRailsPage.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/RubyRailsPage.java index 39ead2b42b3..e3e96841b66 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/RubyRailsPage.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/RubyRailsPage.java @@ -29,4 +29,4 @@ public interface RubyRailsPage extends Page { */ String getTemplate(); -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/RubyRailsWebservice.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/RubyRailsWebservice.java index 99c9ff7a8fd..75852d44b2d 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/RubyRailsWebservice.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/RubyRailsWebservice.java @@ -36,4 +36,4 @@ public interface RubyRailsWebservice extends Webservice { * @return Content of the Ruby on Rails web service controller class */ String getTemplate(); -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java index 8d8cd10bac4..f4afb868839 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/UserRole.java @@ -43,4 +43,4 @@ public @interface UserRole { String[] value() default {}; -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/Webservice.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/Webservice.java index 0a865fddf72..1702be31013 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/Webservice.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/Webservice.java @@ -33,4 +33,4 @@ public interface Webservice extends ServerExtension { */ String getId(); -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetLayoutType.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetLayoutType.java index 4fa0a84035b..00606e6be4c 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetLayoutType.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetLayoutType.java @@ -24,4 +24,4 @@ package org.sonar.api.web; */ public enum WidgetLayoutType { DEFAULT, NONE -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java index c4d43ea0458..7f6c318e26b 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java @@ -47,4 +47,4 @@ public class SquidUtilsTest { assertThat(SquidUtils.convertToSquidKeyFormat(new JavaFile("com.foo.Bar"))).isEqualTo(("com/foo/Bar.java")); assertThat(SquidUtils.convertToSquidKeyFormat(new JavaFile("Bar"))).isEqualTo(("Bar.java")); } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/utils/AnnotationUtilsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/utils/AnnotationUtilsTest.java index aeaeaff837f..fd499e9d864 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/utils/AnnotationUtilsTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/utils/AnnotationUtilsTest.java @@ -96,4 +96,4 @@ abstract class AbstractClass implements AnnotatedInterface { } class ImplementedClass extends AbstractClass { -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/main/java/foo/Bar.java b/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/main/java/foo/Bar.java index e0e9c21cd6d..ff23f5100d7 100644 --- a/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/main/java/foo/Bar.java +++ b/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/main/java/foo/Bar.java @@ -1,4 +1,4 @@ package foo; public class Bar { -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/main/java/foo/Whizz.java b/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/main/java/foo/Whizz.java index df723fd5601..a8723f69913 100644 --- a/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/main/java/foo/Whizz.java +++ b/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/main/java/foo/Whizz.java @@ -1,4 +1,4 @@ package foo; public class Whizz { -} \ No newline at end of file +} diff --git a/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/test/java/foo/BarTest.java b/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/test/java/foo/BarTest.java index 5d99561dd1c..2c7957f737f 100644 --- a/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/test/java/foo/BarTest.java +++ b/sonar-plugin-api/src/test/resources/org/sonar/api/resources/DefaultProjectFileSystemTest/sample/src/test/java/foo/BarTest.java @@ -3,4 +3,4 @@ package foo; import org.junit.Ignore; public abstract class BarTest { -} \ No newline at end of file +} diff --git a/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/CP1252Encoding.java b/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/CP1252Encoding.java index 7da17990464..5f80ef59765 100644 --- a/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/CP1252Encoding.java +++ b/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/CP1252Encoding.java @@ -10,4 +10,4 @@ public class Car { public String getS() { return ""; } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/MacRomanEncoding.java b/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/MacRomanEncoding.java index 2a168ff4bce..30e52000eaf 100644 --- a/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/MacRomanEncoding.java +++ b/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/MacRomanEncoding.java @@ -10,4 +10,4 @@ public class Car { public String getS() { return ""; } -} \ No newline at end of file +} diff --git a/sonar-plugin-api/test-resources/org/sonar/api/resources/DefaultProjectFileSystemTest/shouldExcludeDirectoriesStartingWithDot/src/org/sonar/Included.java b/sonar-plugin-api/test-resources/org/sonar/api/resources/DefaultProjectFileSystemTest/shouldExcludeDirectoriesStartingWithDot/src/org/sonar/Included.java index 78e1aabbba7..ec5235a301b 100644 --- a/sonar-plugin-api/test-resources/org/sonar/api/resources/DefaultProjectFileSystemTest/shouldExcludeDirectoriesStartingWithDot/src/org/sonar/Included.java +++ b/sonar-plugin-api/test-resources/org/sonar/api/resources/DefaultProjectFileSystemTest/shouldExcludeDirectoriesStartingWithDot/src/org/sonar/Included.java @@ -1,3 +1,3 @@ package org.sonar; -public class Included {} \ No newline at end of file +public class Included {} diff --git a/sonar-server/src/main/java/org/sonar/server/charts/deprecated/BaseChartWeb.java b/sonar-server/src/main/java/org/sonar/server/charts/deprecated/BaseChartWeb.java index e85e0fdd66b..d9ccab65372 100644 --- a/sonar-server/src/main/java/org/sonar/server/charts/deprecated/BaseChartWeb.java +++ b/sonar-server/src/main/java/org/sonar/server/charts/deprecated/BaseChartWeb.java @@ -152,4 +152,4 @@ public abstract class BaseChartWeb extends BaseChart { configureDimensions(params.get(BaseChartWeb.CHART_PARAM_DIMENSIONS)); } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/charts/deprecated/CustomBarChart.java b/sonar-server/src/main/java/org/sonar/server/charts/deprecated/CustomBarChart.java index 647ee03e323..af7f40c7aad 100644 --- a/sonar-server/src/main/java/org/sonar/server/charts/deprecated/CustomBarChart.java +++ b/sonar-server/src/main/java/org/sonar/server/charts/deprecated/CustomBarChart.java @@ -140,4 +140,4 @@ public class CustomBarChart extends BarChart { } } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/charts/deprecated/PieChart.java b/sonar-server/src/main/java/org/sonar/server/charts/deprecated/PieChart.java index 7f0fcbafba0..fccf654276c 100644 --- a/sonar-server/src/main/java/org/sonar/server/charts/deprecated/PieChart.java +++ b/sonar-server/src/main/java/org/sonar/server/charts/deprecated/PieChart.java @@ -125,4 +125,4 @@ public class PieChart extends BaseChartWeb implements DeprecatedChart { } } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/charts/deprecated/SparkLinesChart.java b/sonar-server/src/main/java/org/sonar/server/charts/deprecated/SparkLinesChart.java index da3fd42a3b0..6afa9957ef8 100644 --- a/sonar-server/src/main/java/org/sonar/server/charts/deprecated/SparkLinesChart.java +++ b/sonar-server/src/main/java/org/sonar/server/charts/deprecated/SparkLinesChart.java @@ -139,4 +139,4 @@ public class SparkLinesChart extends BaseChartWeb implements DeprecatedChart { } } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/db/migrations/package-info.java b/sonar-server/src/main/java/org/sonar/server/db/migrations/package-info.java index 63993d65144..9f60fb08fb7 100644 --- a/sonar-server/src/main/java/org/sonar/server/db/migrations/package-info.java +++ b/sonar-server/src/main/java/org/sonar/server/db/migrations/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.server.db.migrations; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-server/src/main/java/org/sonar/server/db/package-info.java b/sonar-server/src/main/java/org/sonar/server/db/package-info.java index 79dcbe940a5..66ae1bbe67b 100644 --- a/sonar-server/src/main/java/org/sonar/server/db/package-info.java +++ b/sonar-server/src/main/java/org/sonar/server/db/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.server.db; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-server/src/main/java/org/sonar/server/issue/AssignAction.java b/sonar-server/src/main/java/org/sonar/server/issue/AssignAction.java index 2b4a7ea07fb..dae899e6c77 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/AssignAction.java +++ b/sonar-server/src/main/java/org/sonar/server/issue/AssignAction.java @@ -80,4 +80,4 @@ public class AssignAction extends Action implements ServerComponent { private User selectUser(String assigneeKey) { return userFinder.findByLogin(assigneeKey); } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/issue/CommentAction.java b/sonar-server/src/main/java/org/sonar/server/issue/CommentAction.java index 8550c60b2a3..e6622252908 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/CommentAction.java +++ b/sonar-server/src/main/java/org/sonar/server/issue/CommentAction.java @@ -62,4 +62,4 @@ public class CommentAction extends Action implements ServerComponent { } return param; } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java b/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java index 8082a506c3d..d5ab2fe3aca 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java +++ b/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java @@ -611,4 +611,4 @@ public class InternalRubyIssueService implements ServerComponent { } } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/issue/PlanAction.java b/sonar-server/src/main/java/org/sonar/server/issue/PlanAction.java index 4c4cd470e72..d773fe8bd64 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/PlanAction.java +++ b/sonar-server/src/main/java/org/sonar/server/issue/PlanAction.java @@ -91,4 +91,4 @@ public class PlanAction extends Action implements ServerComponent { private ActionPlan selectActionPlan(String planValue, UserSession userSession) { return actionPlanService.findByKey(planValue, userSession); } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/issue/SetSeverityAction.java b/sonar-server/src/main/java/org/sonar/server/issue/SetSeverityAction.java index ab9ab82c973..e2b466145f2 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/SetSeverityAction.java +++ b/sonar-server/src/main/java/org/sonar/server/issue/SetSeverityAction.java @@ -62,4 +62,4 @@ public class SetSeverityAction extends Action implements ServerComponent { } return param; } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/issue/TransitionAction.java b/sonar-server/src/main/java/org/sonar/server/issue/TransitionAction.java index 57e8498e05c..03974c8fb1e 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/TransitionAction.java +++ b/sonar-server/src/main/java/org/sonar/server/issue/TransitionAction.java @@ -77,4 +77,4 @@ public class TransitionAction extends Action implements ServerComponent { return param; } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/issue/package-info.java b/sonar-server/src/main/java/org/sonar/server/issue/package-info.java index d82e1f23927..927b2258f9f 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/package-info.java +++ b/sonar-server/src/main/java/org/sonar/server/issue/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.server.issue; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-server/src/main/java/org/sonar/server/permission/package-info.java b/sonar-server/src/main/java/org/sonar/server/permission/package-info.java index d5f8bb6330e..29fc579ed77 100644 --- a/sonar-server/src/main/java/org/sonar/server/permission/package-info.java +++ b/sonar-server/src/main/java/org/sonar/server/permission/package-info.java @@ -21,4 +21,4 @@ @ParametersAreNonnullByDefault package org.sonar.server.permission; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-server/src/main/java/org/sonar/server/platform/ServerLifecycleNotifier.java b/sonar-server/src/main/java/org/sonar/server/platform/ServerLifecycleNotifier.java index af77bcc19ab..cc0043f98a1 100644 --- a/sonar-server/src/main/java/org/sonar/server/platform/ServerLifecycleNotifier.java +++ b/sonar-server/src/main/java/org/sonar/server/platform/ServerLifecycleNotifier.java @@ -73,4 +73,4 @@ public class ServerLifecycleNotifier implements ServerComponent { handler.onServerStop(server); } } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/rule/package-info.java b/sonar-server/src/main/java/org/sonar/server/rule/package-info.java index 1ea6c764bfb..966fbb97314 100644 --- a/sonar-server/src/main/java/org/sonar/server/rule/package-info.java +++ b/sonar-server/src/main/java/org/sonar/server/rule/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.server.rule; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-server/src/main/java/org/sonar/server/startup/ServerMetadataPersister.java b/sonar-server/src/main/java/org/sonar/server/startup/ServerMetadataPersister.java index ced95f903b5..6ef13983f50 100644 --- a/sonar-server/src/main/java/org/sonar/server/startup/ServerMetadataPersister.java +++ b/sonar-server/src/main/java/org/sonar/server/startup/ServerMetadataPersister.java @@ -44,4 +44,4 @@ public final class ServerMetadataPersister { CoreProperties.SERVER_VERSION, server.getVersion(), CoreProperties.SERVER_STARTTIME, new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ").format(server.getStartedAt()))); } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/startup/package-info.java b/sonar-server/src/main/java/org/sonar/server/startup/package-info.java index 12e9aa9124d..36169c65d0c 100644 --- a/sonar-server/src/main/java/org/sonar/server/startup/package-info.java +++ b/sonar-server/src/main/java/org/sonar/server/startup/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.server.startup; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-server/src/main/java/org/sonar/server/user/NewUserNotifier.java b/sonar-server/src/main/java/org/sonar/server/user/NewUserNotifier.java index ed94c4c0e4f..4c45a0cb9d5 100644 --- a/sonar-server/src/main/java/org/sonar/server/user/NewUserNotifier.java +++ b/sonar-server/src/main/java/org/sonar/server/user/NewUserNotifier.java @@ -44,4 +44,4 @@ public class NewUserNotifier implements ServerComponent { handler.doOnNewUser(context); } } -} \ No newline at end of file +} diff --git a/sonar-server/src/main/java/org/sonar/server/user/package-info.java b/sonar-server/src/main/java/org/sonar/server/user/package-info.java index 2055e46795a..a4776eb8522 100644 --- a/sonar-server/src/main/java/org/sonar/server/user/package-info.java +++ b/sonar-server/src/main/java/org/sonar/server/user/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.server.user; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-server/src/main/java/org/sonar/server/util/package-info.java b/sonar-server/src/main/java/org/sonar/server/util/package-info.java index 1e7059b8c50..e6ba0b09c63 100644 --- a/sonar-server/src/main/java/org/sonar/server/util/package-info.java +++ b/sonar-server/src/main/java/org/sonar/server/util/package-info.java @@ -20,4 +20,4 @@ @ParametersAreNonnullByDefault package org.sonar.server.util; -import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/sonar-server/src/test/java/org/sonar/server/charts/ChartFactoryTest.java b/sonar-server/src/test/java/org/sonar/server/charts/ChartFactoryTest.java index a65cec43484..6233cb245fa 100644 --- a/sonar-server/src/test/java/org/sonar/server/charts/ChartFactoryTest.java +++ b/sonar-server/src/test/java/org/sonar/server/charts/ChartFactoryTest.java @@ -35,4 +35,4 @@ public class ChartFactoryTest { assertNull(factory.getChart("unknown")); } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/charts/deprecated/BaseChartWebTest.java b/sonar-server/src/test/java/org/sonar/server/charts/deprecated/BaseChartWebTest.java index 083daf0ffa4..55ff590686b 100644 --- a/sonar-server/src/test/java/org/sonar/server/charts/deprecated/BaseChartWebTest.java +++ b/sonar-server/src/test/java/org/sonar/server/charts/deprecated/BaseChartWebTest.java @@ -33,4 +33,4 @@ public abstract class BaseChartWebTest extends BaseChartTest { return servletUrl.toString(); } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/charts/deprecated/CustomBarChartTest.java b/sonar-server/src/test/java/org/sonar/server/charts/deprecated/CustomBarChartTest.java index d0d7999e7e8..71e6c3cee3a 100644 --- a/sonar-server/src/test/java/org/sonar/server/charts/deprecated/CustomBarChartTest.java +++ b/sonar-server/src/test/java/org/sonar/server/charts/deprecated/CustomBarChartTest.java @@ -87,4 +87,4 @@ public class CustomBarChartTest extends BaseChartWebTest { return params; } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/charts/deprecated/PieChartTest.java b/sonar-server/src/test/java/org/sonar/server/charts/deprecated/PieChartTest.java index da7c81b56e8..0bfbc5cd367 100644 --- a/sonar-server/src/test/java/org/sonar/server/charts/deprecated/PieChartTest.java +++ b/sonar-server/src/test/java/org/sonar/server/charts/deprecated/PieChartTest.java @@ -106,4 +106,4 @@ public class PieChartTest extends BaseChartWebTest { return params; } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/charts/deprecated/SparkLinesChartTest.java b/sonar-server/src/test/java/org/sonar/server/charts/deprecated/SparkLinesChartTest.java index 9bbfe8c05ed..603ad760466 100644 --- a/sonar-server/src/test/java/org/sonar/server/charts/deprecated/SparkLinesChartTest.java +++ b/sonar-server/src/test/java/org/sonar/server/charts/deprecated/SparkLinesChartTest.java @@ -116,4 +116,4 @@ public class SparkLinesChartTest extends BaseChartWebTest { return params; } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/issue/AssignActionTest.java b/sonar-server/src/test/java/org/sonar/server/issue/AssignActionTest.java index c21512bd652..992f06501c4 100644 --- a/sonar-server/src/test/java/org/sonar/server/issue/AssignActionTest.java +++ b/sonar-server/src/test/java/org/sonar/server/issue/AssignActionTest.java @@ -131,4 +131,4 @@ public class AssignActionTest { assertThat(action.supports(new DefaultIssue().setResolution(null))).isTrue(); assertThat(action.supports(new DefaultIssue().setResolution(Issue.RESOLUTION_FIXED))).isFalse(); } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/issue/PlanActionTest.java b/sonar-server/src/test/java/org/sonar/server/issue/PlanActionTest.java index 04c89753eeb..7b246155c81 100644 --- a/sonar-server/src/test/java/org/sonar/server/issue/PlanActionTest.java +++ b/sonar-server/src/test/java/org/sonar/server/issue/PlanActionTest.java @@ -153,4 +153,4 @@ public class PlanActionTest { assertThat(action.supports(new DefaultIssue().setResolution(null))).isTrue(); assertThat(action.supports(new DefaultIssue().setResolution(Issue.RESOLUTION_FIXED))).isFalse(); } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/plugins/UpdateCenterClientTest.java b/sonar-server/src/test/java/org/sonar/server/plugins/UpdateCenterClientTest.java index 465cba35868..cbd2e26eb97 100644 --- a/sonar-server/src/test/java/org/sonar/server/plugins/UpdateCenterClientTest.java +++ b/sonar-server/src/test/java/org/sonar/server/plugins/UpdateCenterClientTest.java @@ -86,4 +86,4 @@ public class UpdateCenterClientTest { verify(reader, times(2)).readString(new URI(BASE_URL), Charsets.UTF_8); } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/qualitymodel/DefaultModelManagerTest.java b/sonar-server/src/test/java/org/sonar/server/qualitymodel/DefaultModelManagerTest.java index 07e254cefb0..ab2469f5089 100644 --- a/sonar-server/src/test/java/org/sonar/server/qualitymodel/DefaultModelManagerTest.java +++ b/sonar-server/src/test/java/org/sonar/server/qualitymodel/DefaultModelManagerTest.java @@ -118,4 +118,4 @@ class FakeDefinition extends ModelDefinition { return model; } -} \ No newline at end of file +} diff --git a/sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java b/sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java index 9e251455ac3..ec0f2527493 100644 --- a/sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java +++ b/sonar-server/src/test/java/org/sonar/server/ui/FakeWidget.java @@ -42,4 +42,4 @@ public class FakeWidget implements Widget { public String getTitle() { return title; } -} \ No newline at end of file +} diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java b/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java index 5339b3e9651..a5197ae1a8c 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java @@ -46,4 +46,4 @@ public class SquidConfiguration { return stopSquidOnException; } -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/base/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/base/package-info.java index a577a12003f..6cf4343a5d8 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/base/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/base/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.base; \ No newline at end of file +package org.sonar.wsclient.base; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/component/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/component/package-info.java index 20aea5e6db8..b25da76466d 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/component/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/component/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.component; \ No newline at end of file +package org.sonar.wsclient.component; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/connectors/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/connectors/package-info.java index c549291bacf..707049fd357 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/connectors/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/connectors/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.connectors; \ No newline at end of file +package org.sonar.wsclient.connectors; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/package-info.java index 14fa0653e4c..b674fd7e69b 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.internal; \ No newline at end of file +package org.sonar.wsclient.internal; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/package-info.java index bd54aab693e..ced7f5a5fd5 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/package-info.java @@ -18,4 +18,4 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.issue.internal; \ No newline at end of file +package org.sonar.wsclient.issue.internal; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/package-info.java index c3f39d69c58..611d2cf3d8b 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.issue; \ No newline at end of file +package org.sonar.wsclient.issue; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/package-info.java index f0f8becc0fe..3442d0dc711 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient; \ No newline at end of file +package org.sonar.wsclient; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/internal/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/internal/package-info.java index 4a398c9bb4d..426ebc3aa4b 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/internal/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/internal/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.permissions.internal; \ No newline at end of file +package org.sonar.wsclient.permissions.internal; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/package-info.java index 816576f5b4f..31e316924d2 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/permissions/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.permissions; \ No newline at end of file +package org.sonar.wsclient.permissions; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/rule/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/rule/package-info.java index 162f2fc4ede..acab552cb04 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/rule/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/rule/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.rule; \ No newline at end of file +package org.sonar.wsclient.rule; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/AbstractQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/AbstractQuery.java index 979e43b51c2..e72605eece9 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/AbstractQuery.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/AbstractQuery.java @@ -145,4 +145,4 @@ public abstract class AbstractQuery { .append('&'); } } -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Query.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Query.java index 212072579ab..eb1f1209775 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Query.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Query.java @@ -26,4 +26,4 @@ public abstract class Query extends AbstractQuery { public abstract Class getModelClass(); -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/package-info.java index 2bf10c60fb3..cb3f261f32e 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.services; \ No newline at end of file +package org.sonar.wsclient.services; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/package-info.java index 7bd201ee550..6404c870eb9 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.unmarshallers; \ No newline at end of file +package org.sonar.wsclient.unmarshallers; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/internal/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/internal/package-info.java index b2ddc599813..a4a5a7f4f04 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/internal/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/internal/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.user.internal; \ No newline at end of file +package org.sonar.wsclient.user.internal; diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/package-info.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/package-info.java index d4506c5f9ff..5b798f69494 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/package-info.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/package-info.java @@ -19,4 +19,4 @@ */ @javax.annotation.ParametersAreNonnullByDefault -package org.sonar.wsclient.user; \ No newline at end of file +package org.sonar.wsclient.user; diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/MockHttpServerInterceptor.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/MockHttpServerInterceptor.java index 5e870c599e1..a2e99f1a1dc 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/MockHttpServerInterceptor.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/MockHttpServerInterceptor.java @@ -68,4 +68,4 @@ public final class MockHttpServerInterceptor extends ExternalResource { public String url() { return "http://localhost:" + port(); } -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/ServerServlet.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/ServerServlet.java index af094db92c2..ac74ebd7beb 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/ServerServlet.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/ServerServlet.java @@ -35,4 +35,4 @@ public class ServerServlet extends GenericServlet { PrintWriter out = response.getWriter(); out.println("{\"id\":\"123456789\",\"version\":\"2.0\"}"); } -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ManualMeasureCreateQueryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ManualMeasureCreateQueryTest.java index 8e697580346..66b73313720 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ManualMeasureCreateQueryTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ManualMeasureCreateQueryTest.java @@ -46,4 +46,4 @@ public class ManualMeasureCreateQueryTest extends QueryTestCase { assertThat(query.getUrl(), is("/api/manual_measures?resource=foo&metric=team_size&val=45&")); assertThat(query.getModelClass().getName(), is(ManualMeasure.class.getName())); } -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ManualMeasureDeleteQueryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ManualMeasureDeleteQueryTest.java index cb2eaa69d56..5543e9931e2 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ManualMeasureDeleteQueryTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ManualMeasureDeleteQueryTest.java @@ -31,4 +31,4 @@ public class ManualMeasureDeleteQueryTest extends QueryTestCase { ManualMeasureDeleteQuery query = ManualMeasureDeleteQuery.create("foo", "team_size"); assertThat(query.getUrl(), is("/api/manual_measures?resource=foo&metric=team_size&")); } -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ProjectDeleteQueryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ProjectDeleteQueryTest.java index dd06f9778e0..ebe98ddfd06 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ProjectDeleteQueryTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ProjectDeleteQueryTest.java @@ -31,4 +31,4 @@ public class ProjectDeleteQueryTest extends QueryTestCase { assertThat(query.getUrl(), is("/api/projects/my%3Aproject")); } -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/PropertyCreateQueryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/PropertyCreateQueryTest.java index b72e2e86b87..0b043514a9e 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/PropertyCreateQueryTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/PropertyCreateQueryTest.java @@ -39,4 +39,4 @@ public class PropertyCreateQueryTest extends QueryTestCase { assertThat(query.getUrl(), is("/api/properties?id=foo&value=bar&resource=my%3Aresource&")); assertThat(query.getModelClass().getName(), is(Property.class.getName())); } -} \ No newline at end of file +} diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/PropertyDeleteQueryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/PropertyDeleteQueryTest.java index 7aa452ddcfa..b0981edc436 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/PropertyDeleteQueryTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/PropertyDeleteQueryTest.java @@ -37,4 +37,4 @@ public class PropertyDeleteQueryTest extends QueryTestCase { PropertyDeleteQuery query = new PropertyDeleteQuery("foo", "my:resource"); assertThat(query.getUrl(), is("/api/properties/foo?resource=my%3Aresource&")); } -} \ No newline at end of file +} -- 2.39.5