From 488ed5193d2ee897e8100e4af9c7afd5f2ae71e7 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Mon, 9 Jan 2023 09:10:44 -0600 Subject: [PATCH] [NO JIRA] Add missing package-info --- .../org/sonar/db/pushevent/package-info.java | 24 +++++++++++++++++ .../migration/version/v99/package-info.java | 23 ++++++++++++++++ .../sonar/server/feature/package-info.java | 23 ++++++++++++++++ .../server/ce/projectdump/package-info.java | 24 +++++++++++++++++ .../core/documentation/package-info.java | 27 +++++++++++++++++++ .../org/sonar/core/plugin/package-info.java | 27 +++++++++++++++++++ .../sonar/core/telemetry/package-info.java | 27 +++++++++++++++++++ 7 files changed, 175 insertions(+) create mode 100644 server/sonar-db-dao/src/main/java/org/sonar/db/pushevent/package-info.java create mode 100644 server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v99/package-info.java create mode 100644 server/sonar-server-common/src/main/java/org/sonar/server/feature/package-info.java create mode 100644 server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/projectdump/package-info.java create mode 100644 sonar-core/src/main/java/org/sonar/core/documentation/package-info.java create mode 100644 sonar-core/src/main/java/org/sonar/core/plugin/package-info.java create mode 100644 sonar-core/src/main/java/org/sonar/core/telemetry/package-info.java diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/pushevent/package-info.java b/server/sonar-db-dao/src/main/java/org/sonar/db/pushevent/package-info.java new file mode 100644 index 00000000000..dabb9600b85 --- /dev/null +++ b/server/sonar-db-dao/src/main/java/org/sonar/db/pushevent/package-info.java @@ -0,0 +1,24 @@ +/* + * SonarQube + * Copyright (C) 2009-2023 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program 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. + * + * This program 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.db.pushevent; + +import javax.annotation.ParametersAreNonnullByDefault; + diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v99/package-info.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v99/package-info.java new file mode 100644 index 00000000000..f9f7f49233b --- /dev/null +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v99/package-info.java @@ -0,0 +1,23 @@ +/* + * SonarQube + * Copyright (C) 2009-2023 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program 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. + * + * This program 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.server.platform.db.migration.version.v99; + +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/feature/package-info.java b/server/sonar-server-common/src/main/java/org/sonar/server/feature/package-info.java new file mode 100644 index 00000000000..8b5899b1ddf --- /dev/null +++ b/server/sonar-server-common/src/main/java/org/sonar/server/feature/package-info.java @@ -0,0 +1,23 @@ +/* + * SonarQube + * Copyright (C) 2009-2023 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program 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. + * + * This program 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.server.feature; + +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/projectdump/package-info.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/projectdump/package-info.java new file mode 100644 index 00000000000..39e92b6510d --- /dev/null +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/projectdump/package-info.java @@ -0,0 +1,24 @@ +/* + * SonarQube + * Copyright (C) 2009-2023 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program 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. + * + * This program 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.server.ce.projectdump; + +import javax.annotation.ParametersAreNonnullByDefault; + diff --git a/sonar-core/src/main/java/org/sonar/core/documentation/package-info.java b/sonar-core/src/main/java/org/sonar/core/documentation/package-info.java new file mode 100644 index 00000000000..d26ddf29fcc --- /dev/null +++ b/sonar-core/src/main/java/org/sonar/core/documentation/package-info.java @@ -0,0 +1,27 @@ +/* + * SonarQube + * Copyright (C) 2009-2023 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program 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. + * + * This program 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. + */ +/** + * Provides support of DI (Dependency Injection) container and management of plugins. + */ +@ParametersAreNonnullByDefault +package org.sonar.core.documentation; + +import javax.annotation.ParametersAreNonnullByDefault; + diff --git a/sonar-core/src/main/java/org/sonar/core/plugin/package-info.java b/sonar-core/src/main/java/org/sonar/core/plugin/package-info.java new file mode 100644 index 00000000000..e186bdd3220 --- /dev/null +++ b/sonar-core/src/main/java/org/sonar/core/plugin/package-info.java @@ -0,0 +1,27 @@ +/* + * SonarQube + * Copyright (C) 2009-2023 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program 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. + * + * This program 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. + */ +/** + * Provides support of DI (Dependency Injection) container and management of plugins. + */ +@ParametersAreNonnullByDefault +package org.sonar.core.plugin; + +import javax.annotation.ParametersAreNonnullByDefault; + diff --git a/sonar-core/src/main/java/org/sonar/core/telemetry/package-info.java b/sonar-core/src/main/java/org/sonar/core/telemetry/package-info.java new file mode 100644 index 00000000000..0a3d6f1ec56 --- /dev/null +++ b/sonar-core/src/main/java/org/sonar/core/telemetry/package-info.java @@ -0,0 +1,27 @@ +/* + * SonarQube + * Copyright (C) 2009-2023 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program 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. + * + * This program 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. + */ +/** + * Provides support of DI (Dependency Injection) container and management of plugins. + */ +@ParametersAreNonnullByDefault +package org.sonar.core.telemetry; + +import javax.annotation.ParametersAreNonnullByDefault; + -- 2.39.5