diff options
author | Klaudio Sinani <klaudio.sinani@sonarsource.com> | 2022-11-14 15:29:00 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-15 20:02:59 +0000 |
commit | 3c8379f8dac6872ce030dd3b3c824e4e69b76fc2 (patch) | |
tree | 2aeae95b83827d81f7a8a30aab0ecb922244292e /server/sonar-webserver-webapi | |
parent | 4d156d7cffcd7379b3dcac2a36946bcbeab8077f (diff) | |
download | sonarqube-3c8379f8dac6872ce030dd3b3c824e4e69b76fc2.tar.gz sonarqube-3c8379f8dac6872ce030dd3b3c824e4e69b76fc2.zip |
[NO-JIRA] Fix reported code smells
Diffstat (limited to 'server/sonar-webserver-webapi')
-rw-r--r-- | server/sonar-webserver-webapi/src/main/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImpl.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImpl.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImpl.java index 45c46995da4..ab65dd55386 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImpl.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImpl.java @@ -22,7 +22,6 @@ package org.sonar.server.measure.live; import java.util.List; import java.util.Objects; import java.util.Optional; -import java.util.function.Function; import java.util.stream.Collectors; import org.sonar.api.config.Configuration; import org.sonar.api.measures.Metric; @@ -36,7 +35,6 @@ import org.sonar.db.measure.LiveMeasureDto; import org.sonar.server.measure.DebtRatingGrid; import org.sonar.server.measure.Rating; -import static com.google.common.base.Preconditions.checkState; import static org.sonar.api.measures.CoreMetrics.NEW_SECURITY_HOTSPOTS_KEY; import static org.sonar.api.measures.CoreMetrics.NEW_SECURITY_HOTSPOTS_REVIEWED_KEY; import static org.sonar.api.measures.CoreMetrics.NEW_SECURITY_HOTSPOTS_REVIEWED_STATUS_KEY; |