@ThreadSafe
public interface FilterableIssue {
+ /**
+ * @deprecated since 7.6 filtering issue should not depend on the key
+ */
+ @Deprecated
String componentKey();
RuleKey ruleKey();
Double gap();
/**
- * @deprecated since 6.6 useless
+ * @deprecated since 6.6 useless since creation date is computed on server side
*/
@Deprecated
Date creationDate();
+ /**
+ * @deprecated since 7.6 filtering issue should not depend on the key
+ */
+ @Deprecated
String projectKey();
}
import javax.annotation.concurrent.ThreadSafe;
-
import org.sonar.api.ExtensionPoint;
import org.sonar.api.batch.ScannerSide;
import org.sonarsource.api.sonarlint.SonarLintSide;
import org.sonar.scanner.mediumtest.TaskResult;
import org.sonar.scanner.protocol.output.ScannerReport;
import org.sonar.xoo.XooPlugin;
-import org.sonar.xoo.lang.CpdTokenizerSensor;
import org.sonar.xoo.rule.XooRulesDefinition;
import static org.assertj.core.api.Assertions.assertThat;