aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce-task-projectanalysis
diff options
context:
space:
mode:
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>2024-01-30 10:40:43 +0100
committersonartech <sonartech@sonarsource.com>2024-01-30 15:02:03 +0000
commitaa685bd63b7364ce350168ef7e7b027afc0928bd (patch)
tree420369899ea3c81576457bd1a2c0d4d9cb56239b /server/sonar-ce-task-projectanalysis
parentd38fbd9b6915692d435355dac629ad660783912c (diff)
downloadsonarqube-aa685bd63b7364ce350168ef7e7b027afc0928bd.tar.gz
sonarqube-aa685bd63b7364ce350168ef7e7b027afc0928bd.zip
SONAR-20479 Replace "[re-]indexation" with "[re-]indexing" in user-facing messages and code comments
Diffstat (limited to 'server/sonar-ce-task-projectanalysis')
-rw-r--r--server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStep.java2
-rw-r--r--server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/taskprocessor/IgnoreOrphanBranchStep.java2
-rw-r--r--server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStepTest.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStep.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStep.java
index 483688ab950..6f29551fa4f 100644
--- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStep.java
+++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStep.java
@@ -64,7 +64,7 @@ public class LoadChangedIssuesStep implements ComputationStep {
@Override
public String getDescription() {
- return "Load changed issues for indexation";
+ return "Load changed issues for indexing";
}
}
diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/taskprocessor/IgnoreOrphanBranchStep.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/taskprocessor/IgnoreOrphanBranchStep.java
index 1d0bd823866..e26714685f7 100644
--- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/taskprocessor/IgnoreOrphanBranchStep.java
+++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/taskprocessor/IgnoreOrphanBranchStep.java
@@ -48,7 +48,7 @@ public final class IgnoreOrphanBranchStep implements ComputationStep {
Optional<ComponentDto> componentDto = dbClient.componentDao().selectByUuid(dbSession, componentUuid);
Optional<EntityDto> entityDto = dbClient.entityDao().selectByUuid(dbSession, entityUuid);
if (componentDto.isEmpty() || entityDto.isEmpty()) {
- LOG.info("reindexation task has been trigger on an orphan branch. removing any exclude_from_purge flag, and skip the indexation");
+ LOG.info("reindexing task has been trigger on an orphan branch. removing any exclude_from_purge flag, and skip the indexing");
dbClient.branchDao().updateExcludeFromPurge(dbSession, componentUuid, false);
dbClient.branchDao().updateNeedIssueSync(dbSession, componentUuid, false);
dbSession.commit();
diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStepTest.java b/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStepTest.java
index ae7d40a51ac..543daadfa2e 100644
--- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStepTest.java
+++ b/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadChangedIssuesStepTest.java
@@ -64,7 +64,7 @@ public class LoadChangedIssuesStepTest {
@Test
public void getDescription_shouldReturnDescription() {
- assertThat(underTest.getDescription()).isEqualTo("Load changed issues for indexation");
+ assertThat(underTest.getDescription()).isEqualTo("Load changed issues for indexing");
}
@Test