aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2019-04-23 11:48:54 +0200
committerSonarTech <sonartech@sonarsource.com>2019-04-23 20:21:09 +0200
commit1be42e24f7b4172c47a183d92bf0ea0d50e4196b (patch)
tree512e59fe8228241b94a5cba7652716f87f679f9f /sonar-plugin-api/src
parentc584ea8432c0a896a7bd92a4b825fc3f28ce9e92 (diff)
downloadsonarqube-1be42e24f7b4172c47a183d92bf0ea0d50e4196b.tar.gz
sonarqube-1be42e24f7b4172c47a183d92bf0ea0d50e4196b.zip
SONAR-12006 Deprecate org.sonar.api.profiles.XMLProfileParser
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileParser.java3
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileSerializer.java4
2 files changed, 6 insertions, 1 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 de2d59e2bd0..2dc5a5052ea 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
@@ -37,11 +37,14 @@ import org.sonar.api.rules.Rule;
import org.sonar.api.rules.RuleFinder;
import org.sonar.api.rules.RulePriority;
import org.sonar.api.server.ServerSide;
+import org.sonar.api.server.profile.BuiltInQualityProfileAnnotationLoader;
import org.sonar.api.utils.ValidationMessages;
/**
* @since 2.3
+ * @deprecated since 7.8 use {@link BuiltInQualityProfileAnnotationLoader}
*/
+@Deprecated
@ServerSide
@ComputeEngineSide
public class XMLProfileParser {
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileSerializer.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileSerializer.java
index 382120c1dfb..a6105f0706f 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileSerializer.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/XMLProfileSerializer.java
@@ -23,15 +23,17 @@ import java.io.IOException;
import java.io.Writer;
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.lang.StringUtils;
+import org.sonar.api.ce.ComputeEngineSide;
import org.sonar.api.rules.ActiveRule;
import org.sonar.api.rules.ActiveRuleParam;
-import org.sonar.api.ce.ComputeEngineSide;
import org.sonar.api.server.ServerSide;
import org.sonar.api.utils.SonarException;
/**
* @since 2.3
+ * @deprecated since 7.8
*/
+@Deprecated
@ServerSide
@ComputeEngineSide
public class XMLProfileSerializer {