]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-18525 fixed few code smells
authorAurelien Poscia <aurelien.poscia@sonarsource.com>
Mon, 13 Mar 2023 14:57:23 +0000 (15:57 +0100)
committersonartech <sonartech@sonarsource.com>
Wed, 22 Mar 2023 20:04:07 +0000 (20:04 +0000)
server/sonar-webserver-webapi/src/main/java/org/sonar/server/user/ws/UpdateIdentityProviderAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/usergroups/ws/GroupService.java

index f38c851733b66d71c51d84d3f971deaf58063391..e4d4f89e95da3267345c7f96aae2b3966d5176ec 100644 (file)
@@ -57,7 +57,8 @@ public class UpdateIdentityProviderAction implements UsersWsAction {
   private final UserSession userSession;
   private final ManagedInstanceChecker managedInstanceChecker;
 
-  public UpdateIdentityProviderAction(DbClient dbClient, IdentityProviderRepository identityProviderRepository, UserUpdater userUpdater, UserSession userSession, ManagedInstanceChecker managedInstanceChecker) {
+  public UpdateIdentityProviderAction(DbClient dbClient, IdentityProviderRepository identityProviderRepository,
+    UserUpdater userUpdater, UserSession userSession, ManagedInstanceChecker managedInstanceChecker) {
     this.dbClient = dbClient;
     this.identityProviderRepository = identityProviderRepository;
     this.userUpdater = userUpdater;
index d8a9cbe68dc19483fbffe540f4de733301473922..bf57fe9fc07a0da3fc55ed50500661bfa78c5533 100644 (file)
@@ -20,7 +20,6 @@
 package org.sonar.server.usergroups.ws;
 
 import java.util.Optional;
-import java.util.Set;
 import javax.annotation.Nullable;
 import org.sonar.api.security.DefaultGroups;
 import org.sonar.api.server.ServerSide;
@@ -74,7 +73,6 @@ public class GroupService {
     return updateDescription(dbSession, withUpdatedName, newDescription);
   }
 
-
   public GroupDto createGroup(DbSession dbSession, String name, @Nullable String description) {
     validateGroupName(name);
     checkNameDoesNotExist(dbSession, name);