diff options
author | David Gageot <david@gageot.net> | 2012-09-28 13:35:23 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-09-28 15:08:45 +0200 |
commit | 9c854f825217360854b7878a28a21dc9a8c5c19b (patch) | |
tree | 787736e26eb3dc744d4b27faa39b2117c9ed1c6a /sonar-batch/src/main | |
parent | f31d5fd1a99b5b3dca8cc450d97203206a06de5a (diff) | |
download | sonarqube-9c854f825217360854b7878a28a21dc9a8c5c19b.tar.gz sonarqube-9c854f825217360854b7878a28a21dc9a8c5c19b.zip |
SONAR-3529 Get rid of property sets. Use PropertyFields instead
Diffstat (limited to 'sonar-batch/src/main')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java | 5 | ||||
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/config/ProjectSettings.java | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java b/sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java index 1ea83f62df9..7ef42fbd60e 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java +++ b/sonar-batch/src/main/java/org/sonar/batch/ProjectConfigurator.java @@ -19,8 +19,6 @@ */ package org.sonar.batch; -import java.util.Date; - import org.apache.commons.configuration.PropertiesConfiguration; import org.apache.commons.lang.StringUtils; import org.apache.maven.project.MavenProject; @@ -31,10 +29,11 @@ import org.sonar.api.config.Settings; import org.sonar.api.database.DatabaseSession; import org.sonar.api.database.model.ResourceModel; import org.sonar.api.database.model.Snapshot; -import org.sonar.api.resources.Java; import org.sonar.api.resources.Project; import org.sonar.api.utils.SonarException; +import java.util.Date; + public class ProjectConfigurator implements BatchComponent { private DatabaseSession databaseSession; diff --git a/sonar-batch/src/main/java/org/sonar/batch/config/ProjectSettings.java b/sonar-batch/src/main/java/org/sonar/batch/config/ProjectSettings.java index 95822bcb32a..09496102faf 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/config/ProjectSettings.java +++ b/sonar-batch/src/main/java/org/sonar/batch/config/ProjectSettings.java @@ -26,7 +26,6 @@ import org.sonar.api.CoreProperties; import org.sonar.api.batch.bootstrap.ProjectDefinition; import org.sonar.api.config.PropertyDefinitions; import org.sonar.api.config.Settings; -import org.sonar.api.resources.Java; import org.sonar.api.resources.Project; import org.sonar.batch.bootstrap.ProjectInitializer; import org.sonar.core.config.ConfigurationUtils; |