From: Aurelien Poscia Date: Thu, 28 Sep 2023 13:43:07 +0000 (+0200) Subject: NO-JIRA delete all useless package-info.java files X-Git-Tag: 10.3.0.82913~317 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=159e94c82336a3f51b426628ecd0ea7e5c4e1e38;p=sonarqube.git NO-JIRA delete all useless package-info.java files --- diff --git a/server/sonar-db-dao/src/main/java/org/sonar/core/permission/package-info.java b/server/sonar-db-dao/src/main/java/org/sonar/core/permission/package-info.java deleted file mode 100644 index 52044fadaad..00000000000 --- a/server/sonar-db-dao/src/main/java/org/sonar/core/permission/package-info.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 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.core.permission; - -import javax.annotation.ParametersAreNonnullByDefault; - diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/alm/package-info.java b/server/sonar-db-dao/src/main/java/org/sonar/db/alm/package-info.java deleted file mode 100644 index 6dae9f55b3e..00000000000 --- a/server/sonar-db-dao/src/main/java/org/sonar/db/alm/package-info.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 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.alm; - -import javax.annotation.ParametersAreNonnullByDefault; - diff --git a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/github/permissions/package-info.java b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/github/permissions/package-info.java deleted file mode 100644 index bc66c661b36..00000000000 --- a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/github/permissions/package-info.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 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.common.github.permissions; - -import javax.annotation.ParametersAreNonnullByDefault; diff --git a/server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/scheduler/package-info.java b/server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/scheduler/package-info.java deleted file mode 100644 index c5a7d611928..00000000000 --- a/server/sonar-webserver-pushapi/src/main/java/org/sonar/server/pushapi/scheduler/package-info.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 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. - */ -@javax.annotation.ParametersAreNonnullByDefault -package org.sonar.server.pushapi.scheduler; diff --git a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/package-info.java b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/package-info.java deleted file mode 100644 index 1bcb4c2be02..00000000000 --- a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/package-info.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 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.v2.api; - -import javax.annotation.ParametersAreNonnullByDefault; diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/validator/package-info.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/validator/package-info.java deleted file mode 100644 index 8cbc3eed230..00000000000 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/validator/package-info.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 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.almintegration.validator; - -import javax.annotation.ParametersAreNonnullByDefault; - diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/feature/package-info.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/feature/package-info.java deleted file mode 100644 index e5613bf5ede..00000000000 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/feature/package-info.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 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. - */ -@javax.annotation.ParametersAreNonnullByDefault -package org.sonar.server.feature; diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/internal/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/internal/package-info.java deleted file mode 100644 index 5be6d7d0b6b..00000000000 --- a/sonar-duplications/src/main/java/org/sonar/duplications/internal/package-info.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 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. - */ -/** - * Internals. - */ -package org.sonar.duplications.internal;