From 1b7c2ba7e13e675657f58d422d04d548d210da08 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Thu, 31 Oct 2019 13:36:43 -0500 Subject: SONAR-12626 CE and Web no longer support SLBs --- .../src/main/java/org/sonar/xoo/lang/MeasureSensor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/sonar-xoo-plugin/src') 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 metric = metricFinder.findByKey(metricKey); if (metric == null) { - throw new IllegalStateException("Unknow metric with key: " + metricKey); + throw new IllegalStateException("Unknown metric with key: " + metricKey); } NewMeasure newMeasure = context.newMeasure() .forMetric(metric) -- cgit v1.2.3