aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2022-08-27 16:54:15 +0800
committersonartech <sonartech@sonarsource.com>2022-08-31 20:03:03 +0000
commitdd3697084fd2adec4791c613306615e060aceb74 (patch)
tree01ef0974bd2b51beef208f20a1417194dd73b0cc
parentbb25868c68dc3c6639b958f06925528fb0d888d3 (diff)
downloadsonarqube-dd3697084fd2adec4791c613306615e060aceb74.tar.gz
sonarqube-dd3697084fd2adec4791c613306615e060aceb74.zip
fix some typos
Signed-off-by: cui fliter <imcusg@gmail.com>
-rw-r--r--server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/source/SourceLinesRepositoryImpl.java2
-rw-r--r--server/sonar-ce/src/main/java/org/sonar/ce/taskprocessor/CeWorker.java2
-rw-r--r--server/sonar-ce/src/test/java/org/sonar/ce/cleaning/CeCleaningSchedulerImplTest.java2
-rw-r--r--server/sonar-db-dao/src/testFixtures/java/org/sonar/db/DbTester.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/source/SourceLinesRepositoryImpl.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/source/SourceLinesRepositoryImpl.java
index ba26cc6c050..339b230e001 100644
--- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/source/SourceLinesRepositoryImpl.java
+++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/source/SourceLinesRepositoryImpl.java
@@ -90,7 +90,7 @@ public class SourceLinesRepositoryImpl implements SourceLinesRepository {
@Override
protected String doNext() {
- throw new UnsupportedOperationException("Not implemented because hasNext() and next() are overriden");
+ throw new UnsupportedOperationException("Not implemented because hasNext() and next() are overridden");
}
@Override
diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/taskprocessor/CeWorker.java b/server/sonar-ce/src/main/java/org/sonar/ce/taskprocessor/CeWorker.java
index f24868eaeb1..5b6c68aebce 100644
--- a/server/sonar-ce/src/main/java/org/sonar/ce/taskprocessor/CeWorker.java
+++ b/server/sonar-ce/src/main/java/org/sonar/ce/taskprocessor/CeWorker.java
@@ -67,7 +67,7 @@ public interface CeWorker extends Callable<CeWorker.Result> {
/**
* Classes implementing will be called a task start and finishes executing.
- * All classes implementing this interface are guaranted to be called for each event, even if another implementation
+ * All classes implementing this interface are guaranteed to be called for each event, even if another implementation
* failed when called.
*/
@ComputeEngineSide
diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/cleaning/CeCleaningSchedulerImplTest.java b/server/sonar-ce/src/test/java/org/sonar/ce/cleaning/CeCleaningSchedulerImplTest.java
index 6e7b2527e8c..e161439e741 100644
--- a/server/sonar-ce/src/test/java/org/sonar/ce/cleaning/CeCleaningSchedulerImplTest.java
+++ b/server/sonar-ce/src/test/java/org/sonar/ce/cleaning/CeCleaningSchedulerImplTest.java
@@ -127,7 +127,7 @@ public class CeCleaningSchedulerImplTest {
assertThat(unit).isEqualTo(TimeUnit.MINUTES);
break;
default:
- fail("Unknwon call of scheduleWithFixedDelay");
+ fail("Unknown call of scheduleWithFixedDelay");
}
// synchronously execute command
command.run();
diff --git a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/DbTester.java b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/DbTester.java
index 8eb0c9f87b1..395f01ce8ec 100644
--- a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/DbTester.java
+++ b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/DbTester.java
@@ -325,7 +325,7 @@ public class DbTester extends AbstractDbTester<TestDbImpl> {
@Override
public void close() {
- // closing dbSession is not our responsability
+ // closing dbSession is not our responsibility
}
}