aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/main/java/org/sonar/batch/bootstrapper
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-12-12 15:27:05 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-12-12 15:27:23 +0100
commit31784eb3bfc2e9e320e96c0c3ef0e3f3abcd0880 (patch)
tree7058872e4500e814317d5a5811fd9e3871b86a8c /sonar-batch/src/main/java/org/sonar/batch/bootstrapper
parentabadc6eed3365966b36874c64a445a05d94b2e77 (diff)
downloadsonarqube-31784eb3bfc2e9e320e96c0c3ef0e3f3abcd0880.tar.gz
sonarqube-31784eb3bfc2e9e320e96c0c3ef0e3f3abcd0880.zip
SONAR-3887 release lock when plugin license is not valid
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar/batch/bootstrapper')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java
index c670d4439ec..0970bd5bc55 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java
@@ -70,7 +70,8 @@ public final class Batch {
private void startBatch() {
Module bootstrapModule = null;
try {
- bootstrapModule = new BootstrapModule(projectReactor, components.toArray(new Object[components.size()])).init();
+ bootstrapModule = new BootstrapModule(projectReactor, components.toArray(new Object[components.size()]));
+ bootstrapModule.init();
bootstrapModule.start();
} catch (RuntimeException e) {
PicoUtils.propagateStartupException(e);