aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-webapi/src
diff options
context:
space:
mode:
authorPierre Guillot <50145663+pierre-guillot-sonarsource@users.noreply.github.com>2020-11-26 14:53:10 +0100
committersonartech <sonartech@sonarsource.com>2020-11-26 20:06:29 +0000
commitdfd9164217f736bd24bfdcd26e9307b983053a86 (patch)
tree4576dd5e581dde3ea788bf1b131391a579f22233 /server/sonar-webserver-webapi/src
parent74f7665414df2b65cd7e3be3e3b1ca96280ffe0a (diff)
downloadsonarqube-dfd9164217f736bd24bfdcd26e9307b983053a86.tar.gz
sonarqube-dfd9164217f736bd24bfdcd26e9307b983053a86.zip
clean code smells (unused import)
Diffstat (limited to 'server/sonar-webserver-webapi/src')
-rw-r--r--server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/UpdateKeyAction.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/UpdateKeyAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/UpdateKeyAction.java
index 01a20b78668..1bf2fa508a1 100644
--- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/UpdateKeyAction.java
+++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/UpdateKeyAction.java
@@ -19,18 +19,15 @@
*/
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;