From 22b8b6d4ad713c4abbca5c9b992e873499246b83 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Thu, 17 Nov 2022 14:33:31 +0100 Subject: [NO JIRA] Remove unused code --- .../exception/RedirectionException.java | 25 ---------------------- .../authentication/exception/package-info.java | 23 -------------------- 2 files changed, 48 deletions(-) delete mode 100644 server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/exception/RedirectionException.java delete mode 100644 server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/exception/package-info.java (limited to 'server/sonar-webserver-auth') diff --git a/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/exception/RedirectionException.java b/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/exception/RedirectionException.java deleted file mode 100644 index 146aef66a6e..00000000000 --- a/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/exception/RedirectionException.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2022 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. - */ -package org.sonar.server.authentication.exception; - -public abstract class RedirectionException extends RuntimeException { - - public abstract String getPath(String contextPath); -} diff --git a/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/exception/package-info.java b/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/exception/package-info.java deleted file mode 100644 index cd0ff4e9c71..00000000000 --- a/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/exception/package-info.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2022 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.authentication.exception; - -import javax.annotation.ParametersAreNonnullByDefault; -- cgit v1.2.3