summaryrefslogtreecommitdiffstats
path: root/server/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-02 23:47:22 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-02 23:47:22 +0200
commitc075ea2a1678b4321b27a047511c412fe649255c (patch)
tree53c6f0eee37863206488f549f880ff7b81d4dab3 /server/sonar-server
parent7e8e38ec27110cb909c9b5e603271f9f84e071a4 (diff)
downloadsonarqube-c075ea2a1678b4321b27a047511c412fe649255c.tar.gz
sonarqube-c075ea2a1678b4321b27a047511c412fe649255c.zip
Fix typo ("squale" instead of "sqale")
Diffstat (limited to 'server/sonar-server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/computation/step/SqaleMeasuresStep.java6
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/computation/step/SqaleMeasuresStepTest.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/step/SqaleMeasuresStep.java b/server/sonar-server/src/main/java/org/sonar/server/computation/step/SqaleMeasuresStep.java
index fd714d34b25..0a9ff1a8301 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/computation/step/SqaleMeasuresStep.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/computation/step/SqaleMeasuresStep.java
@@ -49,7 +49,7 @@ public class SqaleMeasuresStep implements ComputationStep {
@Override
public void execute() {
- new SqualeMeasuresVisitor().visit(treeRootHolder.getRoot());
+ new SqaleMeasuresVisitor().visit(treeRootHolder.getRoot());
}
@Override
@@ -57,13 +57,13 @@ public class SqaleMeasuresStep implements ComputationStep {
return "Compute Sqale related measures";
}
- private class SqualeMeasuresVisitor extends PathAwareVisitor<DevelopmentCost> {
+ private class SqaleMeasuresVisitor extends PathAwareVisitor<DevelopmentCost> {
private final Metric developmentCostMetric;
private final Metric technicalDebtMetric;
private final Metric debtRatioMetric;
private final Metric sqaleRatingMetric;
- public SqualeMeasuresVisitor() {
+ public SqaleMeasuresVisitor() {
super(Component.Type.FILE, Order.POST_ORDER, new SimpleStackElementFactory<DevelopmentCost>() {
@Override
public DevelopmentCost createForAny(Component component) {
diff --git a/server/sonar-server/src/test/java/org/sonar/server/computation/step/SqaleMeasuresStepTest.java b/server/sonar-server/src/test/java/org/sonar/server/computation/step/SqaleMeasuresStepTest.java
index 1933feb7f12..10a8e1ce4e4 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/computation/step/SqaleMeasuresStepTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/computation/step/SqaleMeasuresStepTest.java
@@ -75,7 +75,7 @@ public class SqaleMeasuresStepTest {
@Before
public void setUp() throws Exception {
- // assumes squale rating configuration is consistent
+ // assumes SQALE rating configuration is consistent
when(sqaleRatingSettings.getRatingGrid()).thenReturn(RATING_GRID);
when(sqaleRatingSettings.getSizeMetricKey(LANGUAGE_KEY_1)).thenReturn(METRIC_KEY_1);
when(sqaleRatingSettings.getSizeMetricKey(LANGUAGE_KEY_2)).thenReturn(METRIC_KEY_2);