aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin/src
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2019-10-31 13:36:43 -0500
committerSonarTech <sonartech@sonarsource.com>2019-12-09 20:46:14 +0100
commit1b7c2ba7e13e675657f58d422d04d548d210da08 (patch)
treecc6d01e54676f156e23fd9c4a349a3157f6216b8 /plugins/sonar-xoo-plugin/src
parent1beafb82821b593010abb721a4d20e60a962e098 (diff)
downloadsonarqube-1b7c2ba7e13e675657f58d422d04d548d210da08.tar.gz
sonarqube-1b7c2ba7e13e675657f58d422d04d548d210da08.zip
SONAR-12626 CE and Web no longer support SLBs
Diffstat (limited to 'plugins/sonar-xoo-plugin/src')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java
index 0a839a7692d..6b4a299f653 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/MeasureSensor.java
@@ -86,7 +86,7 @@ public class MeasureSensor implements Sensor {
private void saveMeasure(SensorContext context, InputComponent component, String metricKey, String value) {
org.sonar.api.batch.measure.Metric<Serializable> metric = metricFinder.findByKey(metricKey);
if (metric == null) {
- throw new IllegalStateException("Unknow metric with key: " + metricKey);
+ throw new IllegalStateException("Unknown metric with key: " + metricKey);
}
NewMeasure<Serializable> newMeasure = context.newMeasure()
.forMetric(metric)