From: Julien HENRY Date: Fri, 20 Feb 2015 14:17:39 +0000 (+0100) Subject: SONAR-5931 Remove deprecation on Issuable X-Git-Tag: 5.1-RC1~133 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0ab4cf92edb6337b45b3beffe4c70e3ae1dd555d;p=sonarqube.git SONAR-5931 Remove deprecation on Issuable --- diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java index 3e7ef41be85..ef2fe0f6f4e 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java @@ -20,7 +20,6 @@ package org.sonar.api.issue; -import org.sonar.api.batch.sensor.SensorContext; import org.sonar.api.component.Perspective; import org.sonar.api.rule.RuleKey; @@ -61,10 +60,6 @@ import java.util.List; */ public interface Issuable extends Perspective { - /** - * @deprecated since 5.1 use {@link SensorContext#newIssue()} - */ - @Deprecated interface IssueBuilder { /** * The rule key is mandatory. Example: {@code RuleKey.of("pmd", "AvoidArrayLoops")} @@ -103,9 +98,7 @@ public interface Issuable extends Perspective { /** * Builder is used to create the issue to be passed to {@link #addIssue(Issue)} - * @deprecated since 5.1 use {@link SensorContext#newIssue()} */ - @Deprecated IssueBuilder newIssueBuilder(); /** @@ -115,9 +108,7 @@ public interface Issuable extends Perspective { * method must be annotated with {@code @DependedUpon(DecoratorBarriers.ISSUES_ADDED)}. * * @return true if the new issue is registered, false if the related rule does not exist or is disabled in the Quality profile. - * @deprecated since 5.1 use {@link SensorContext#newIssue()} */ - @Deprecated boolean addIssue(Issue issue); /**