From 977e7986b207083ade7b60a91268f6772f8afaf2 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Wed, 28 Mar 2012 11:21:53 +0600 Subject: Enforce that parameters are non null by default in sonar-jacoco-plugin and sonar-pmd-plugin --- .../org/sonar/plugins/jacoco/package-info.java | 25 ++++++++++++++++++++++ .../java/org/sonar/plugins/pmd/package-info.java | 25 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/package-info.java create mode 100644 plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/package-info.java (limited to 'plugins') diff --git a/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/package-info.java b/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/package-info.java new file mode 100644 index 00000000000..67ea3154bf2 --- /dev/null +++ b/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/package-info.java @@ -0,0 +1,25 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2008-2012 SonarSource + * mailto:contact AT sonarsource DOT com + * + * Sonar 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. + * + * Sonar 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 Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ + +@ParametersAreNonnullByDefault +package org.sonar.plugins.jacoco; + +import javax.annotation.ParametersAreNonnullByDefault; + diff --git a/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/package-info.java b/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/package-info.java new file mode 100644 index 00000000000..b3da6c0c70f --- /dev/null +++ b/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/package-info.java @@ -0,0 +1,25 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2008-2012 SonarSource + * mailto:contact AT sonarsource DOT com + * + * Sonar 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. + * + * Sonar 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 Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ + +@ParametersAreNonnullByDefault +package org.sonar.plugins.pmd; + +import javax.annotation.ParametersAreNonnullByDefault; + -- cgit v1.2.3