diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-31 20:20:36 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-06-01 09:36:59 +0200 |
commit | 2e74a995d3d26177f15a1660a2d9bab1dc0d97a5 (patch) | |
tree | 31105a417c2f769bd5be70ff8535a6c568d0ffbb /sonar-plugin-api | |
parent | 8f24ad80368cc005c78eb9fc83e4f23823048e16 (diff) | |
download | sonarqube-2e74a995d3d26177f15a1660a2d9bab1dc0d97a5.tar.gz sonarqube-2e74a995d3d26177f15a1660a2d9bab1dc0d97a5.zip |
Deprecate SonarPlugin in favour of Plugin
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java | 2 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java b/sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java index 659f5c6e948..fc010d2271f 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java @@ -19,7 +19,6 @@ */ package org.sonar.api; -import com.google.common.annotations.Beta; import java.util.ArrayList; import java.util.Collection; import java.util.List; @@ -83,7 +82,6 @@ import static java.util.Objects.requireNonNull; * * @since 5.5 */ -@Beta public interface Plugin { class Context { diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java b/sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java index a44838b745d..b49cf73a07b 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java @@ -28,7 +28,9 @@ import java.util.List; * This property is automatically set by sonar-packaging-maven-plugin when building plugin. * * @since 2.8 + * @deprecated replaced by {@link Plugin} in version 5.6. */ +@Deprecated public abstract class SonarPlugin implements Plugin { /** |