diff options
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/Batch.java')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/Batch.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/Batch.java b/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/Batch.java index c1a672ce590..5d616b9e035 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/Batch.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/Batch.java @@ -27,7 +27,7 @@ import java.util.List; import java.util.Map; import javax.annotation.Nullable; import org.sonar.api.utils.MessageException; -import org.sonar.scanner.bootstrap.GlobalContainer; +import org.sonar.scanner.bootstrap.SpringGlobalContainer; /** * Entry point for SonarQube Scanner API 2.1+. @@ -69,7 +69,7 @@ public final class Batch { public synchronized Batch doExecute(Map<String, String> scannerProperties, List<Object> components) { configureLogging(); try { - GlobalContainer.create(scannerProperties, components).execute(); + SpringGlobalContainer.create(scannerProperties, components).execute(); } catch (RuntimeException e) { throw handleException(e); } |