summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-12-09 10:43:30 +0000
committerGodin <mandrikov@gmail.com>2010-12-09 10:43:30 +0000
commit32f0acda6de487be8108c0ea264bfa5adcceed26 (patch)
treecb922ba3e3418e89569447c3adbf4c647c845b05 /sonar-plugin-api
parent1df1fa8bd7539b8a0358e52d10cbdf7a580e90d9 (diff)
downloadsonarqube-32f0acda6de487be8108c0ea264bfa5adcceed26.tar.gz
sonarqube-32f0acda6de487be8108c0ea264bfa5adcceed26.zip
Log message about backward compatibility for XMLProfileParser
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileParser.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileParser.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileParser.java
index 819ee316b15..2ca74d70fdc 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileParser.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileParser.java
@@ -33,6 +33,7 @@ import org.sonar.api.rules.ActiveRule;
import org.sonar.api.rules.Rule;
import org.sonar.api.rules.RuleFinder;
import org.sonar.api.rules.RulePriority;
+import org.sonar.api.utils.Logs;
import org.sonar.api.utils.ValidationMessages;
import java.io.InputStreamReader;
@@ -203,6 +204,7 @@ public final class XMLProfileParser implements ServerComponent {
private void processAlerts(SMInputCursor alertsCursor, RulesProfile profile, ValidationMessages messages) throws XMLStreamException {
if (metricFinder == null) {
// TODO remove when constructor without MetricFinder would be removed
+ Logs.INFO.error("Unable to parse alerts, because MetricFinder not available.");
return;
}
while (alertsCursor.getNext() != null) {