From 68977b2bedc95c738b58bc8be83a00d21e13c32e Mon Sep 17 00:00:00 2001 From: Antoine Vinot Date: Thu, 13 Apr 2023 16:57:56 +0200 Subject: SONAR-19045 Migrate from javaxi.servlet to framework agnostic plugin api classes Co-authored-by: Eric Giffon Co-authored-by: Alain Kermis Co-authored-by: Antoine Vinot Co-authored-by: Jacek Poreda --- .../batch/sensor/issue/internal/DefaultExternalIssue.java | 13 +++++++++++++ .../api/batch/sensor/rule/internal/DefaultAdHocRule.java | 12 ++++++++++++ 2 files changed, 25 insertions(+) (limited to 'sonar-plugin-api-impl') diff --git a/sonar-plugin-api-impl/src/main/java/org/sonar/api/batch/sensor/issue/internal/DefaultExternalIssue.java b/sonar-plugin-api-impl/src/main/java/org/sonar/api/batch/sensor/issue/internal/DefaultExternalIssue.java index 2567c27bc88..42418950a25 100644 --- a/sonar-plugin-api-impl/src/main/java/org/sonar/api/batch/sensor/issue/internal/DefaultExternalIssue.java +++ b/sonar-plugin-api-impl/src/main/java/org/sonar/api/batch/sensor/issue/internal/DefaultExternalIssue.java @@ -19,12 +19,14 @@ */ package org.sonar.api.batch.sensor.issue.internal; +import javax.annotation.CheckForNull; import javax.annotation.Nullable; import org.sonar.api.batch.fs.internal.DefaultInputProject; import org.sonar.api.batch.rule.Severity; import org.sonar.api.batch.sensor.internal.SensorStorage; import org.sonar.api.batch.sensor.issue.ExternalIssue; import org.sonar.api.batch.sensor.issue.NewExternalIssue; +import org.sonar.api.code.CodeCharacteristic; import org.sonar.api.rule.RuleKey; import org.sonar.api.rules.RuleType; @@ -97,6 +99,12 @@ public class DefaultExternalIssue extends AbstractDefaultIssue