diff options
author | Jacek Poreda <jacek.poreda@sonarsource.com> | 2024-12-11 13:29:02 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-12-18 20:03:11 +0000 |
commit | 6a7f3bdf15eaa9ce456ddd482d063496be3ddaa3 (patch) | |
tree | e0d5ff7b7a84ba403d4ec9a27380cf2e2e71a50e /server/sonar-ce-task-projectanalysis | |
parent | 6a146e820674a08f14b03db7f48f3ec7d393d38b (diff) | |
download | sonarqube-6a7f3bdf15eaa9ce456ddd482d063496be3ddaa3.tar.gz sonarqube-6a7f3bdf15eaa9ce456ddd482d063496be3ddaa3.zip |
SONAR-19122 Update annotations from javax to jakarta
Diffstat (limited to 'server/sonar-ce-task-projectanalysis')
5 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/component/BranchLoader.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/component/BranchLoader.java index d4d0212708a..fb171c4e82e 100644 --- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/component/BranchLoader.java +++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/component/BranchLoader.java @@ -20,7 +20,7 @@ package org.sonar.ce.task.projectanalysis.component; import javax.annotation.Nullable; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.sonar.api.utils.MessageException; import org.sonar.ce.task.projectanalysis.analysis.MutableAnalysisMetadataHolder; import org.sonar.scanner.protocol.output.ScannerReport; diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/duplication/DuplicationMeasures.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/duplication/DuplicationMeasures.java index 8866b6b16df..b6cbb3bdd25 100644 --- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/duplication/DuplicationMeasures.java +++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/duplication/DuplicationMeasures.java @@ -26,7 +26,7 @@ import java.util.Optional; import java.util.Set; import javax.annotation.CheckForNull; import javax.annotation.Nullable; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.sonar.ce.task.projectanalysis.component.Component; import org.sonar.ce.task.projectanalysis.component.PathAwareCrawler; import org.sonar.ce.task.projectanalysis.component.TreeRootHolder; diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/IssueLifecycle.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/IssueLifecycle.java index 80937105adb..cf95513540c 100644 --- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/IssueLifecycle.java +++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/IssueLifecycle.java @@ -23,7 +23,7 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import java.util.Date; import java.util.Optional; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.jetbrains.annotations.NotNull; import org.sonar.api.issue.Issue; import org.sonar.api.rules.CleanCodeAttribute; diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/ProtoIssueCache.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/ProtoIssueCache.java index ad5e517ceca..be6d52128e2 100644 --- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/ProtoIssueCache.java +++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/ProtoIssueCache.java @@ -23,7 +23,7 @@ import org.sonar.api.utils.System2; import org.sonar.api.utils.TempFolder; import org.sonar.ce.task.projectanalysis.util.cache.ProtobufIssueDiskCache; -import javax.inject.Inject; +import jakarta.inject.Inject; import java.io.File; /** diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/CoverageMeasuresStep.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/CoverageMeasuresStep.java index ced96e600f1..95537911770 100644 --- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/CoverageMeasuresStep.java +++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/CoverageMeasuresStep.java @@ -21,7 +21,7 @@ package org.sonar.ce.task.projectanalysis.step; import java.util.List; import javax.annotation.Nullable; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.sonar.ce.task.projectanalysis.batch.BatchReportReader; import org.sonar.ce.task.projectanalysis.component.Component; import org.sonar.ce.task.projectanalysis.component.CrawlerDepthLimit; |