diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-06-07 11:07:25 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-06-07 11:07:43 +0200 |
commit | ef65872944bde77d948cf6bd0185acdbd36d28c4 (patch) | |
tree | 2e50b95ebe04189f53492adfff39be67b57dd58e /sonar-batch/src/main/java/org/sonar/batch/bootstrapper | |
parent | 7026f003b50c1b9cc78ec03c4d92662b6ea885f5 (diff) | |
download | sonarqube-ef65872944bde77d948cf6bd0185acdbd36d28c4.tar.gz sonarqube-ef65872944bde77d948cf6bd0185acdbd36d28c4.zip |
Do not allow to change ProjectDefinition#properties
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar/batch/bootstrapper')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrapper/ProjectDefinition.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/ProjectDefinition.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/ProjectDefinition.java index 0c59c799935..71f3861f941 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/ProjectDefinition.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/ProjectDefinition.java @@ -42,10 +42,9 @@ public class ProjectDefinition { * @param properties project properties */ public ProjectDefinition(File baseDir, File workDir, Properties properties) { - target = org.sonar.api.batch.bootstrap.ProjectDefinition.create() + target = org.sonar.api.batch.bootstrap.ProjectDefinition.create(properties) .setBaseDir(baseDir) - .setWorkDir(workDir) - .setProperties(properties); + .setWorkDir(workDir); } public File getBaseDir() { |