aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-auth
diff options
context:
space:
mode:
authorKlaudio Sinani <klaudio.sinani@sonarsource.com>2022-07-19 14:08:47 +0200
committersonartech <sonartech@sonarsource.com>2022-07-19 20:03:21 +0000
commit8cb985168fd1fbd342b47f42c33ecbd111b63e50 (patch)
treefaec94d45d4ce1d5c23a9bf6b7dcbb7b82a045a2 /server/sonar-webserver-auth
parent26f5c3f9730649345a5066a6823e9473e7ecc3d8 (diff)
downloadsonarqube-8cb985168fd1fbd342b47f42c33ecbd111b63e50.tar.gz
sonarqube-8cb985168fd1fbd342b47f42c33ecbd111b63e50.zip
[NO-JIRA] Fix code smells
Diffstat (limited to 'server/sonar-webserver-auth')
-rw-r--r--server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java1
-rw-r--r--server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/package-info.java24
2 files changed, 24 insertions, 1 deletions
diff --git a/server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java b/server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java
index d361e8b385e..2a8ea7d25f7 100644
--- a/server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java
+++ b/server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java
@@ -19,7 +19,6 @@
*/
package org.sonar.server.user;
-import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
diff --git a/server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/package-info.java b/server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/package-info.java
new file mode 100644
index 00000000000..8765ffa39a1
--- /dev/null
+++ b/server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * 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.usertoken.notification;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+