]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaws
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 21 May 2015 14:17:50 +0000 (16:17 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 21 May 2015 14:17:50 +0000 (16:17 +0200)
server/sonar-server/src/main/java/org/sonar/server/computation/ws/ComputationWsAction.java
sonar-plugin-api/src/main/java/org/sonar/api/checks/package-info.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/component/Perspective.java
sonar-plugin-api/src/main/java/org/sonar/api/server/package-info.java [new file with mode: 0644]

index 10ea28e79a9e0ba8b7d24347cf4de4446cd63154..65edafb7ce456623486127ab3025c99a8d7d6a44 100644 (file)
@@ -26,6 +26,7 @@ import org.sonar.server.ws.WsAction;
  * Used by {@link ComputationWs} to
  * loop over all its actions
  */
-interface ComputationWsAction extends WsAction{
+interface ComputationWsAction extends WsAction {
+  @Override
   void define(WebService.NewController controller);
 }
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 (file)
index 0000000..4b93674
--- /dev/null
@@ -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;
index 10bbed9a754f3d493fbe8eb587e552b80d088706..ccc2d5746d5df49e09de720ad61364eff40aa0aa 100644 (file)
@@ -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 (file)
index 0000000..e33e72d
--- /dev/null
@@ -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;