diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2021-10-22 10:38:45 -0500 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-10-25 20:03:24 +0000 |
commit | 6519110cd4f98fabf3bef46896eecbead3eb646a (patch) | |
tree | ad84a08da8ba0d590dd1a2d5e9bd2f85ff1c8a8e /sonar-scanner-engine/src/main/java/org | |
parent | 7525c90c3f489b47e902e5f8eecce2c9deab9658 (diff) | |
download | sonarqube-6519110cd4f98fabf3bef46896eecbead3eb646a.tar.gz sonarqube-6519110cd4f98fabf3bef46896eecbead3eb646a.zip |
Fix code quality issues
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org')
2 files changed, 2 insertions, 3 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/externalissue/ExternalIssueImporter.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/externalissue/ExternalIssueImporter.java index df3b9834642..ddb24292759 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/externalissue/ExternalIssueImporter.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/externalissue/ExternalIssueImporter.java @@ -37,7 +37,7 @@ import org.sonar.scanner.externalissue.ReportParser.Location; import org.sonar.scanner.externalissue.ReportParser.Report; public class ExternalIssueImporter { - private static final Logger LOG = Loggers.get(ExternalIssuesImportSensor.class); + private static final Logger LOG = Loggers.get(ExternalIssueImporter.class); private static final int MAX_UNKNOWN_FILE_PATHS_TO_PRINT = 5; private final SensorContext context; diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/ForkDateSupplier.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/ForkDateSupplier.java index 882207b4a38..18180ab0f53 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/ForkDateSupplier.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/ForkDateSupplier.java @@ -26,14 +26,13 @@ import org.sonar.api.notifications.AnalysisWarnings; import org.sonar.api.utils.log.Logger; import org.sonar.api.utils.log.Loggers; import org.sonar.api.utils.log.Profiler; -import org.sonar.scanner.report.ChangedLinesPublisher; import org.sonar.scanner.scan.branch.BranchConfiguration; import org.sonar.scanner.scan.branch.ProjectBranches; import org.sonar.scanner.scm.ScmConfiguration; import org.sonarqube.ws.NewCodePeriods; public class ForkDateSupplier { - private static final Logger LOG = Loggers.get(ChangedLinesPublisher.class); + private static final Logger LOG = Loggers.get(ForkDateSupplier.class); private static final String LOG_MSG_WS = "Load New Code definition"; private final NewCodePeriodLoader newCodePeriodLoader; |