aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-05-21 16:17:50 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-05-21 16:17:50 +0200
commit9de86423ed465f18ebdc4b883cd6d40ee9f373c8 (patch)
treeb0dcdf9ffc58c1996685e1ab34822666e183925d /sonar-plugin-api
parentdc4cc92fd314b16cd5b52433a69275013ac2243a (diff)
downloadsonarqube-9de86423ed465f18ebdc4b883cd6d40ee9f373c8.tar.gz
sonarqube-9de86423ed465f18ebdc4b883cd6d40ee9f373c8.zip
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/checks/package-info.java23
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/component/Perspective.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/server/package-info.java23
3 files changed, 47 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/checks/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/checks/package-info.java
new file mode 100644
index 00000000000..4b9367417ab
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/checks/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube, open source software quality management tool.
+ * Copyright (C) 2008-2014 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * SonarQube is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * SonarQube is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.checks;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/component/Perspective.java b/sonar-plugin-api/src/main/java/org/sonar/api/component/Perspective.java
index 10bbed9a754..ccc2d5746d5 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/component/Perspective.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/component/Perspective.java
@@ -23,5 +23,5 @@ package org.sonar.api.component;
* @deprecated since 5.2
*/
@Deprecated
-public interface Perspective<C extends Component> {
+public interface Perspective {
}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/package-info.java
new file mode 100644
index 00000000000..e33e72d1db9
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube, open source software quality management tool.
+ * Copyright (C) 2008-2014 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * SonarQube is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * SonarQube is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.server;
+
+import javax.annotation.ParametersAreNonnullByDefault;