]> source.dussan.org Git - sonarqube.git/commitdiff
Code smell fix: Remove unused imports
authorBruno Andrade <bruno@artsman.dev>
Fri, 9 Jul 2021 16:15:53 +0000 (13:15 -0300)
committersonartech <sonartech@sonarsource.com>
Mon, 12 Jul 2021 20:06:52 +0000 (20:06 +0000)
server/sonar-server-common/src/main/java/org/sonar/server/platform/ServerImpl.java
server/sonar-webserver-auth/src/main/java/org/sonar/server/qualityprofile/BuiltInQProfileInsertImpl.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SetTypeAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/template/BulkApplyTemplateAction.java
sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/AesCipher.java
sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java
sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ImportAzureProjectRequest.java
sonar-ws/src/main/java/org/sonarqube/ws/client/metrics/MetricsService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/users/UpdateIdentityProviderRequest.java

index 3196c73a5db410837e8a5598557963d973ffd275..a65daae278a1ed4ff177e01982538148d68d0381 100644 (file)
@@ -19,7 +19,6 @@
  */
 package org.sonar.server.platform;
 
-import java.io.File;
 import java.util.Date;
 import javax.annotation.CheckForNull;
 import org.sonar.api.CoreProperties;
index 3f4e4340dd0a87013154ac6c8823e776d1a25b34..8eab984a5fd8a88812c24a33715f77f05dacd4e9 100644 (file)
@@ -20,7 +20,6 @@
 package org.sonar.server.qualityprofile;
 
 import com.google.common.base.Splitter;
-import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableSet;
 import com.google.common.collect.Sets;
 import java.util.Collections;
index 303e14077f9332644dcb78a99de424ae3ec93571..a41aa0c794353d7f4ad942c136d804d0077bba17 100644 (file)
@@ -44,7 +44,6 @@ import org.sonar.api.utils.System2;
 import org.sonar.core.util.stream.MoreCollectors;
 import org.sonar.db.DbClient;
 import org.sonar.db.DbSession;
-import org.sonar.db.rule.RuleDefinitionDto;
 import org.sonar.db.user.UserDto;
 import org.sonar.server.es.Facets;
 import org.sonar.server.es.SearchOptions;
index 07f1a40f84b1bd2def074162dfe0004cbb2d536e..8c7e691e6d56dd674d95f53d75cffe467438a88c 100644 (file)
@@ -38,7 +38,6 @@ import org.sonar.server.issue.IssueFieldsSetter;
 import org.sonar.server.issue.IssueFinder;
 import org.sonar.server.user.UserSession;
 
-import static org.sonar.api.rules.RuleType.SECURITY_HOTSPOT;
 import static org.sonar.api.web.UserRole.ISSUE_ADMIN;
 import static org.sonarqube.ws.client.issue.IssuesWsParameters.ACTION_SET_TYPE;
 import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_ISSUE;
index a637ae0a144049baefc54008e27d917d7d4218f9..62e3b950ba99611b4fc746fec8e3fa66a681c775 100644 (file)
@@ -56,7 +56,6 @@ import static org.sonar.server.ws.KeyExamples.KEY_PROJECT_EXAMPLE_001;
 import static org.sonar.server.ws.KeyExamples.KEY_PROJECT_EXAMPLE_002;
 import static org.sonar.server.ws.WsParameterBuilder.createRootQualifiersParameter;
 import static org.sonar.server.ws.WsParameterBuilder.QualifierParameterContext.newQualifierParameterContext;
-import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_QUALIFIER;
 import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID;
 import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME;
 import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_ANALYZED_BEFORE;
index 57541227658b9b56ad3e9281b5bcb39da66100ac..996011386c8669efb23aa6218f6d75d9bc2569c2 100644 (file)
@@ -30,7 +30,6 @@ import javax.crypto.spec.SecretKeySpec;
 import org.apache.commons.codec.binary.Base64;
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.lang.StringUtils;
-import org.sonar.api.CoreProperties;
 
 import static java.nio.charset.StandardCharsets.UTF_8;
 import static org.sonar.api.CoreProperties.ENCRYPTION_SECRET_KEY_PATH;
index ed512c862c743feb3870963f99438486205dea20..b696a8e1b9840f883155369114eccff53417f02d 100644 (file)
@@ -19,7 +19,6 @@
  */
 package org.sonar.api.platform;
 
-import java.io.File;
 import java.util.Date;
 import org.sonar.api.scanner.ScannerSide;
 import org.sonar.api.ce.ComputeEngineSide;
index b6239eef78f81befcee6133b85a22692e0656933..7fba4834289ecc762087917d9689a517e7447d48 100644 (file)
@@ -19,7 +19,6 @@
  */
 package org.sonar.scanner.platform;
 
-import java.io.File;
 import java.util.Date;
 import org.apache.commons.lang.StringUtils;
 import org.sonar.api.CoreProperties;
index fc379bc9197dedff5e42df563c0bc4fdd8cb673b..137a3cbe116733b17fca6f6330b212c7bf441a2d 100644 (file)
@@ -19,7 +19,6 @@
  */
 package org.sonarqube.ws.client.almintegrations;
 
-import java.util.List;
 import javax.annotation.Generated;
 
 /**
index 722a65bd7ccea27b51c287a150ee36b4fde0d91a..63320894fd67a5dab8bcb7d22200b2d517a7ab00 100644 (file)
@@ -24,7 +24,6 @@ import javax.annotation.Generated;
 import org.sonarqube.ws.MediaTypes;
 import org.sonarqube.ws.client.BaseService;
 import org.sonarqube.ws.client.GetRequest;
-import org.sonarqube.ws.client.PostRequest;
 import org.sonarqube.ws.client.WsConnector;
 
 /**
index df75fcc3d43e690f230c8e6b12b654c48776f5ed..cbb5aaa58dd80776ec86e0e66dd85a71c6ab6e59 100644 (file)
@@ -19,7 +19,6 @@
  */
 package org.sonarqube.ws.client.users;
 
-import java.util.List;
 import javax.annotation.Generated;
 
 /**