From f295be020a090f4681e8da0ece96ddb18d3e66c4 Mon Sep 17 00:00:00 2001 From: Dinesh Bolkensteyn Date: Thu, 29 Aug 2013 16:09:23 +0200 Subject: Fix some quality flaws --- sonar-plugin-api/src/main/java/org/sonar/api/batch/DependsUpon.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/batch/Phase.java | 2 +- .../main/java/org/sonar/api/batch/bootstrap/internal/package-info.java | 2 +- .../src/main/java/org/sonar/api/batch/bootstrap/package-info.java | 2 +- .../src/main/java/org/sonar/api/component/mock/package-info.java | 2 +- .../src/main/java/org/sonar/api/component/package-info.java | 2 +- .../src/main/java/org/sonar/api/config/internal/package-info.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/config/package-info.java | 2 +- .../src/main/java/org/sonar/api/database/DatabaseProperties.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/i18n/package-info.java | 2 +- .../src/main/java/org/sonar/api/issue/action/package-info.java | 2 +- .../src/main/java/org/sonar/api/issue/condition/package-info.java | 2 +- .../src/main/java/org/sonar/api/issue/internal/package-info.java | 2 +- sonar-plugin-api/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 +- sonar-plugin-api/src/main/java/org/sonar/api/platform/package-info.java | 2 +- .../src/main/java/org/sonar/api/profiles/ProfileDefinition.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/resources/JavaPackage.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectLink.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/resources/Qualifiers.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/resources/Scopes.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/rule/package-info.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleParam.java | 2 +- .../src/main/java/org/sonar/api/scan/filesystem/package-info.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/security/package-info.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/source/package-info.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/test/package-info.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/user/package-info.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/web/ResourceScope.java | 2 +- sonar-plugin-api/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 +- sonar-plugin-api/src/main/java/org/sonar/api/web/Webservice.java | 2 +- sonar-plugin-api/src/main/java/org/sonar/api/web/WidgetLayoutType.java | 2 +- sonar-plugin-api/src/test/java/org/sonar/api/batch/SquidUtilsTest.java | 2 +- .../src/test/java/org/sonar/api/utils/AnnotationUtilsTest.java | 2 +- .../DefaultProjectFileSystemTest/sample/src/main/java/foo/Bar.java | 2 +- .../DefaultProjectFileSystemTest/sample/src/main/java/foo/Whizz.java | 2 +- .../DefaultProjectFileSystemTest/sample/src/test/java/foo/BarTest.java | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) (limited to 'sonar-plugin-api/src') 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 +} -- cgit v1.2.3