]> source.dussan.org Git - sonarqube.git/commitdiff
clean code smells (unused import)
authorPierre Guillot <50145663+pierre-guillot-sonarsource@users.noreply.github.com>
Thu, 26 Nov 2020 13:53:10 +0000 (14:53 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 26 Nov 2020 20:06:29 +0000 (20:06 +0000)
server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/TriggerViewRefreshStep.java
server/sonar-db-dao/src/main/java/org/sonar/db/alm/setting/ProjectAlmSettingMapper.java
server/sonar-db-dao/src/main/java/org/sonar/db/webhook/WebhookDao.java
server/sonar-main/src/main/java/org/sonar/application/es/EsConnectorImpl.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/UpdateKeyAction.java
server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel2.java

index 9b1e9a0105a6248654202d864bd41722a2382921..9613478248da2398d803140234ca6682a4ab3d23 100644 (file)
@@ -20,7 +20,6 @@
 package org.sonar.ce.task.projectanalysis.step;
 
 import java.util.OptionalInt;
-import javax.annotation.Nullable;
 import org.sonar.ce.task.projectanalysis.analysis.AnalysisMetadataHolder;
 import org.sonar.ce.task.projectanalysis.view.TriggerViewRefreshDelegate;
 import org.sonar.ce.task.step.ComputationStep;
index 15cb12dac8f8cebc1a82bd47e1dd6ed331ed0225..4c595b67d14f9127ac84a28f588584a0a9a9cee3 100644 (file)
@@ -20,7 +20,6 @@
 package org.sonar.db.alm.setting;
 
 import java.util.List;
-import java.util.Set;
 import javax.annotation.CheckForNull;
 import org.apache.ibatis.annotations.Param;
 
index bbed39b4fa00b932cd043077071d68799fcffb13..1fdc8d74b0af48bf1d0558e4d560dedf37cce73f 100644 (file)
@@ -24,7 +24,6 @@ import java.util.Optional;
 import org.sonar.api.utils.System2;
 import org.sonar.db.Dao;
 import org.sonar.db.DbSession;
-import org.sonar.db.component.ComponentDto;
 import org.sonar.db.organization.OrganizationDto;
 import org.sonar.db.project.ProjectDto;
 
index bacc25c85b6593fffb02f407fb9123a9b3b3695c..606e997ac65629eef7dc74242da018a116505d0b 100644 (file)
@@ -27,7 +27,6 @@ import java.util.Set;
 import java.util.concurrent.atomic.AtomicReference;
 import java.util.stream.Collectors;
 import org.apache.http.HttpHost;
-import org.elasticsearch.ElasticsearchException;
 import org.elasticsearch.action.admin.cluster.health.ClusterHealthRequest;
 import org.elasticsearch.action.admin.cluster.health.ClusterHealthResponse;
 import org.elasticsearch.client.RequestOptions;
index 01a20b78668410b4d959cb7bc1b3694122aadc1d..1bf2fa508a17dc27e2120885dbfa861567d47b3f 100644 (file)
  */
 package org.sonar.server.project.ws;
 
-import java.util.Optional;
 import org.sonar.api.server.ws.Change;
 import org.sonar.api.server.ws.Request;
 import org.sonar.api.server.ws.Response;
 import org.sonar.api.server.ws.WebService;
 import org.sonar.db.DbClient;
 import org.sonar.db.DbSession;
-import org.sonar.db.component.ComponentDto;
 import org.sonar.db.project.ProjectDto;
 import org.sonar.server.component.ComponentFinder;
 import org.sonar.server.component.ComponentService;
-import org.sonar.server.exceptions.NotFoundException;
 
 import static org.sonarqube.ws.client.project.ProjectsWsParameters.ACTION_UPDATE_KEY;
 import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_FROM;
index 40361b6e4b10ec1705a552231778d934e62c3049..a30f20264143dfa1e7219449fdb9503f21144729 100644 (file)
@@ -43,7 +43,6 @@ import org.sonar.server.platform.web.WebPagesCache;
 import org.sonar.server.plugins.InstalledPluginReferentialFactory;
 import org.sonar.server.plugins.PluginCompressor;
 import org.sonar.server.plugins.PluginJarLoader;
-import org.sonar.server.plugins.PluginUninstaller;
 import org.sonar.server.plugins.ServerPluginJarExploder;
 import org.sonar.server.plugins.ServerPluginManager;
 import org.sonar.server.plugins.ServerPluginRepository;