From dd9ebd6a6f4b59c38ce1f1ca494f1d4231291513 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Fri, 18 Oct 2024 16:27:20 +0200 Subject: SONAR-23250 Revert changes made in the plugin API for ActiveRule --- .../java/org/sonar/scanner/mediumtest/ScannerMediumTester.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sonar-scanner-engine/src/testFixtures/java/org') diff --git a/sonar-scanner-engine/src/testFixtures/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java b/sonar-scanner-engine/src/testFixtures/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java index 59eb6290e79..89f54283c45 100644 --- a/sonar-scanner-engine/src/testFixtures/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java +++ b/sonar-scanner-engine/src/testFixtures/java/org/sonar/scanner/mediumtest/ScannerMediumTester.java @@ -49,7 +49,6 @@ import org.sonar.api.SonarEdition; import org.sonar.api.SonarProduct; import org.sonar.api.SonarQubeSide; import org.sonar.api.SonarRuntime; -import org.sonar.api.batch.rule.LoadedActiveRule; import org.sonar.api.impl.server.RulesDefinitionContext; import org.sonar.api.measures.CoreMetrics; import org.sonar.api.measures.Metric; @@ -76,6 +75,7 @@ import org.sonar.scanner.repository.SingleProjectRepository; import org.sonar.scanner.repository.settings.GlobalSettingsLoader; import org.sonar.scanner.repository.settings.ProjectSettingsLoader; import org.sonar.scanner.rule.ActiveRulesLoader; +import org.sonar.scanner.rule.LoadedActiveRule; import org.sonar.scanner.rule.RulesLoader; import org.sonar.scanner.scan.ScanProperties; import org.sonar.scanner.scan.branch.BranchConfiguration; @@ -280,7 +280,6 @@ public class ScannerMediumTester extends ExternalResource implements BeforeTestE } } - public AnalysisBuilder newAnalysis() { return new AnalysisBuilder(this); } -- cgit v1.2.3